Commit Graph

  • 5a00343006 Fewer uses of size_t in exclist.c Paul Eggert 2024-10-31 19:53:25 -07:00
  • 739483114d Fewer uses of size_t in delete.c Paul Eggert 2024-10-31 19:53:25 -07:00
  • 849f244a0b Fewer uses of size_t in create.c Paul Eggert 2024-10-31 19:53:25 -07:00
  • 15dc3210cc Fewer uses of size_t in compare.c Paul Eggert 2024-10-31 19:53:25 -07:00
  • 7abf1420c3 Simplify checkpoint_action allocation Paul Eggert 2024-10-31 19:53:25 -07:00
  • 0b60228081 checkpoint_total_format is now const Paul Eggert 2024-10-31 19:53:25 -07:00
  • f9ed22de9b Fewer uses of size_t in checkpoint.c Paul Eggert 2024-10-31 19:53:25 -07:00
  • 78dd7bf0bc Fewer uses of size_t in buffer.c Paul Eggert 2024-10-31 19:53:25 -07:00
  • 647cafff96 Don't assume archive read from stdin starts at offset 0 Sergey Poznyakoff 2024-10-31 19:09:28 +02:00
  • bd06b114d9 Add missing safety check Sergey Poznyakoff 2024-10-25 13:40:32 +03:00
  • 8767b1c84a Remove useless check Sergey Poznyakoff 2024-10-25 10:24:32 +03:00
  • e59d09db7d Bugfix Sergey Poznyakoff 2024-10-25 09:50:22 +03:00
  • dd1bae32ce Fewer macros in xheader.c Paul Eggert 2024-08-19 09:56:25 -07:00
  • 8b3073e1d2 Fewer macros in xattrs.c Paul Eggert 2024-08-19 09:55:32 -07:00
  • 7c4f884747 Fewer macros in unlink.c Paul Eggert 2024-08-19 09:54:15 -07:00
  • 82ef07c9bd Fewer macros in transform.c Paul Eggert 2024-08-19 09:53:35 -07:00
  • 350cc4077e Fewer macros in tar.c Paul Eggert 2024-08-19 09:52:39 -07:00
  • 7f557428a4 Fewer macros in tar.h Paul Eggert 2024-08-19 09:50:02 -07:00
  • dd0f95965d Fewer macros in system.c Paul Eggert 2024-08-19 09:48:07 -07:00
  • cdcd1580c8 Fewer macros in names.c Paul Eggert 2024-08-19 09:47:11 -07:00
  • dfb1da7253 Fewer macros in incremen.c Paul Eggert 2024-08-19 09:45:43 -07:00
  • 79cb9aaab6 Fewer macros in extract.c Paul Eggert 2024-08-19 09:42:59 -07:00
  • da109fae7a Fewer macros in create.c Paul Eggert 2024-08-19 09:41:37 -07:00
  • cc1352699a Fewer macros in buffer.c Paul Eggert 2024-08-19 09:39:37 -07:00
  • 4323e98683 Fewer macros in common.h Paul Eggert 2024-08-19 09:12:52 -07:00
  • 005e345c04 Fix non-ASCII in sparse.c Paul Eggert 2024-08-18 22:40:43 -07:00
  • 95a5f043c5 Prefer function to COPY_BUF macro Paul Eggert 2024-08-18 11:02:51 -07:00
  • f25dd56e83 Prefer function to COPY_STRING macro Paul Eggert 2024-08-18 09:44:25 -07:00
  • f1e4947992 Fix string size bound calculation Paul Eggert 2024-08-18 08:45:41 -07:00
  • 0dfcfa4aa4 maint: switch from ERROR to paxerror etc Paul Eggert 2024-08-17 18:16:16 -07:00
  • e9c16628f0 build: update gnulib and paxutils submodules to latest Paul Eggert 2024-08-17 17:56:29 -07:00
  • a0a1243c69 Adjust to verror change for program name Paul Eggert 2024-08-15 10:24:15 -07:00
  • 812a49419a build: update gnulib and paxutils submodules to latest Paul Eggert 2024-08-14 22:21:12 -07:00
  • 541f3bc374 Fix duplicate write_error_details decl Paul Eggert 2024-08-14 23:07:14 -07:00
  • 6bc4c4bf96 Fix minor diagnostic discrepancies in incrementals Paul Eggert 2024-08-14 23:05:33 -07:00
  • ab7a14bd92 Add verror module Paul Eggert 2024-08-14 23:01:57 -07:00
  • b596676c78 Use idx_t for write_fatal_details size Paul Eggert 2024-08-14 22:19:30 -07:00
  • 15c6010c32 Use intmax_t for read_incr_db_01 line numbers Paul Eggert 2024-08-13 08:39:25 -07:00
  • 43231ae554 Avoid need for base64_init and extra table Paul Eggert 2024-08-13 08:35:24 -07:00
  • b201a37421 Remove cast from from_header Paul Eggert 2024-08-12 23:26:41 -07:00
  • c9a3abcbe7 Prefer signed to unsigned when decoding options Paul Eggert 2024-08-12 18:17:58 -07:00
  • 18dadeffc0 Don’t assume pid fits in unsigned long Paul Eggert 2024-08-12 18:04:42 -07:00
  • 1521d3dae0 Avoid casts in tar_checksum Paul Eggert 2024-08-12 17:52:09 -07:00
  • 5ab90d6c96 Support >UINT_MAX lines in map files Paul Eggert 2024-08-12 17:47:26 -07:00
  • e137c14285 Prefer signed integer in struct directory Paul Eggert 2024-08-12 17:45:03 -07:00
  • 95ebde4303 Simplify make_directory via xizalloc Paul Eggert 2024-08-12 17:43:15 -07:00
  • ef290cb171 Use idx_t, not size_t, for xattr value lengths. Paul Eggert 2024-08-12 17:39:21 -07:00
  • 09aec02e32 Use intmax_t, not size_t, for input line numbers Paul Eggert 2024-08-12 16:18:16 -07:00
  • 9b69d17e24 In short_read, use %td not %lu Paul Eggert 2024-08-12 16:10:16 -07:00
  • b3992e4ef8 Prefer signed types in blocking_read etc Paul Eggert 2024-08-09 00:22:53 -07:00
  • 88c2aa1616 Fix minor integer overflow in xsparse.c Paul Eggert 2024-08-08 16:38:28 -07:00
  • d1e72a536f Prefer stoint to strtoul and variants Paul Eggert 2024-08-08 16:32:49 -07:00
  • 3ffe2eb073 Handle enormous record sizes better Paul Eggert 2024-08-08 10:51:39 -07:00
  • eb9bb9bf80 Default to GNU/Linux dev_t etc Paul Eggert 2024-08-07 17:05:13 -07:00
  • 4642cd04ed Avoid strtoul Paul Eggert 2024-08-07 17:03:22 -07:00
  • a80f364662 Avoid snprintf Paul Eggert 2024-08-04 01:37:07 -07:00
  • 5316938142 Avoid wordsplit quadratic behavior Paul Eggert 2024-08-04 01:04:56 -07:00
  • 83926613a4 Prefer ialloc for wordsplit Paul Eggert 2024-08-04 00:24:15 -07:00
  • 9a2344b183 Omit wordsplit API that tar doesn’t need Paul Eggert 2024-08-03 21:05:42 -07:00
  • 5182462cf1 wordsplit_get_words need not fail Paul Eggert 2024-08-03 15:45:53 -07:00
  • 0ab451a420 More wordsplit int cleanup Paul Eggert 2024-08-03 14:53:39 -07:00
  • dab2830e38 Diagnose argp overflow Paul Eggert 2024-08-03 11:55:39 -07:00
  • 9cef4d5495 Fix unlikely buffer overrun when checkpointing Paul Eggert 2024-08-03 11:52:17 -07:00
  • 7cda31b1e0 Prefer idx_t to size_t in wordsplit Paul Eggert 2024-08-03 11:47:13 -07:00
  • cc691f8272 Support >INT_MAX -C dirs Paul Eggert 2024-08-03 09:35:46 -07:00
  • 390950282d maint: fix some encodings and email addresses Paul Eggert 2024-08-03 00:18:51 -07:00
  • f13f2d6815 Parse level options more reliably Paul Eggert 2024-08-02 23:33:50 -07:00
  • c26c2ea2e9 Minor utf8.c improvements Paul Eggert 2024-08-02 23:32:42 -07:00
  • 51c841b927 Simplify ST_DEV_MSB Paul Eggert 2024-08-02 23:30:42 -07:00
  • aca308a778 Use ckd_mul, ckd_add in to_octal, to_base256 Paul Eggert 2024-08-02 23:29:56 -07:00
  • 414f635d8b Use ckd_mul, ckd_add in from_header Paul Eggert 2024-08-02 22:13:20 -07:00
  • 281e03ec6c Prefer < 0 to == -1 where either will do Paul Eggert 2024-08-02 22:11:13 -07:00
  • 9cb1293628 xsparse dry runs should not create output Paul Eggert 2024-08-02 21:58:53 -07:00
  • 44196e198f Better xsparse outname guessing Paul Eggert 2024-08-02 11:23:23 -07:00
  • ba332e36d0 Use xalignalloc Paul Eggert 2024-08-02 09:32:11 -07:00
  • 61656ef35b Make stripped_prefix_len signed Paul Eggert 2024-08-02 09:07:06 -07:00
  • fbc60c2334 from_header minor width cleanup Paul Eggert 2024-08-02 00:29:07 -07:00
  • a78af4b95e Don’t assume mode_t fits in unsigned long Paul Eggert 2024-08-02 00:27:40 -07:00
  • c26111742a Prefer C99 formats like %jd to doing it by hand Paul Eggert 2024-08-01 19:31:50 -07:00
  • 6c91bd82e1 Fix unlikely problems with time overflow Paul Eggert 2024-08-01 10:02:06 -07:00
  • aae99e863d maint: omit space between "*" and "p" Paul Eggert 2024-08-01 07:17:32 -07:00
  • 39d315e8ea ptrdiff_t, not int Paul Eggert 2024-08-01 07:16:49 -07:00
  • bf195d4ae4 ptrdiff_t, not ssize_t Paul Eggert 2024-08-01 07:15:01 -07:00
  • a9372cf08a Prefer stdckdint.h to intprops.h Paul Eggert 2024-07-30 17:59:04 -07:00
  • be1aa32c6d Use ckd_add in page_aligned_alloc Paul Eggert 2024-07-30 17:55:31 -07:00
  • 8a3fc52972 Simplify read_header overflow checking Paul Eggert 2024-07-30 17:47:10 -07:00
  • 927d67855e Cleaner overflow checking in xheader_read Paul Eggert 2024-07-30 16:21:39 -07:00
  • c6a5af16ba maint: use static_assert Paul Eggert 2024-07-30 16:19:35 -07:00
  • dcc90722ac Fix tests/ckmtime.c arithmetic Paul Eggert 2024-07-30 08:35:59 -07:00
  • 7557fdd4df Fix unlikely overflow in utf8_convert Paul Eggert 2024-07-30 08:33:39 -07:00
  • 91ee466c8a Fix unlikely overflow in transform.c Paul Eggert 2024-07-30 08:32:55 -07:00
  • 7079fc369b Better overflow checking for blocking factor Paul Eggert 2024-07-30 08:31:45 -07:00
  • b26e798a0f xsparse cleanup, including integer overflow Paul Eggert 2024-07-29 20:56:27 -07:00
  • f22b9fe3ce maint: fix some unlikely wordsplit overflows Paul Eggert 2024-07-29 15:36:47 -07:00
  • 8f094605a8 maint: prefer C23 if available Paul Eggert 2024-07-28 13:51:45 -07:00
  • 26d1e4ddbc Add some gnulib.modules Paul Eggert 2024-07-28 13:50:37 -07:00
  • ec35690e91 build: update gnulib and paxutils submodules to latest Paul Eggert 2024-07-27 17:59:59 -07:00
  • 3fa1fd0751 Pacify gcc 14 -Wanalyzer-null-argument Paul Eggert 2024-07-27 00:26:15 -07:00
  • fd33f25989 Pacify gcc 14 -Wanalyzer-infinite-loop Paul Eggert 2024-07-27 00:05:49 -07:00
  • 45a86d45b2 maint: make a few funcs and vars static Paul Eggert 2024-07-26 23:42:59 -07:00