Commit Graph

  • d161c9a9db Skip read-only check when output file specified master Daniel Black 2025-05-01 14:33:19 +10:00
  • 4c302306a8 Reject empty filenames Andreas Gruenbacher 2025-04-05 17:13:55 +02:00
  • aea66268c9 Add some missing filename quoting Andreas Gruenbacher 2025-04-05 17:25:45 +02:00
  • 77c27209f6 Fix 'make release' for proper releases Andreas Gruenbacher 2025-03-29 22:29:39 +01:00
  • 48ceda8200 Version 2.8 v2.8 Andreas Gruenbacher 2025-03-29 17:17:03 +01:00
  • b3d0c93338 Regression in commit abe92e8010ab affecting MariaDB tests Petr Vaněk 2025-02-26 16:44:48 -08:00
  • 29fced6251 Count traditional diff pattern lines correctly Paul Eggert 2025-02-26 16:44:48 -08:00
  • b5d2124e2e patch: fix --no-backup-if-mismatch regression Paul Eggert 2025-02-24 22:59:51 -08:00
  • 86ac7e2d7b Fix dodgy assert with side-effects in insert_cached_dirfd Sam James 2025-02-05 16:19:45 +00:00
  • 7d876522e9 Declare an expected test failure on Haiku. Bruno Haible 2025-02-05 22:14:24 +01:00
  • 86baf979f4 build: update gnulib submodule to latest Andreas Gruenbacher 2025-02-06 21:02:41 +01:00
  • 1ba2c1bdf8 Fix two test failures on Haiku. Bruno Haible 2025-02-05 21:37:45 +01:00
  • 1da6bf84db Check for newlines only when creating a file name Paul Eggert 2025-01-08 09:51:26 -08:00
  • 30ee6103a5 Gnulib renamed some modules Paul Eggert 2025-01-05 12:26:02 -08:00
  • 6dbc381055 maint: update bootstrap from gnulib Paul Eggert 2025-01-01 19:50:46 -08:00
  • 05ac924fef build: update gnulib submodule to latest Paul Eggert 2025-01-05 13:31:34 -08:00
  • 95e0092f97 maint: make update-copyright Paul Eggert 2025-01-05 13:30:32 -08:00
  • 5bac274507 Set --no-backup-if-mismatch when in --posix mode Andreas Gruenbacher 2024-11-20 23:54:48 +01:00
  • 910fecf695 Add missing feature tests to the test suite Andreas Gruenbacher 2024-11-11 21:07:33 +01:00
  • be8b3c68b0 Disable release-prep Andreas Gruenbacher 2024-10-11 11:53:49 +02:00
  • c61485bd05 Fix "make release" to handle alpha releases Eli Schwartz 2024-10-11 01:55:12 -04:00
  • 499916fdd8 Add announce-gen module for "make release" Andreas Gruenbacher 2024-10-11 11:42:52 +02:00
  • adb1ebce7f Pacify gcc -fsanitize=address Paul Eggert 2024-09-19 22:43:31 -07:00
  • 6bdae94eb3 Fix memory leak when malformed unidiff patch Paul Eggert 2024-09-19 16:37:11 -07:00
  • 72a146cfaf Port to clang address sanitizer Paul Eggert 2024-09-19 16:05:45 -07:00
  • e2e6820f71 Refactor argc+argv processing Paul Eggert 2024-09-18 12:21:31 -07:00
  • 606c09176c Omit needless get_some_switches code Paul Eggert 2024-09-18 12:15:29 -07:00
  • ee3cc4016d Revert "Remove obsolete require_gnu_diff function" Andreas Gruenbacher 2024-09-18 14:51:33 +02:00
  • 8cae4fc221 Remove obsolete require_gnu_diff function Andreas Gruenbacher 2024-09-18 14:42:49 +02:00
  • 164b529f53 savebuf can return a null pointer Paul Eggert 2024-09-17 23:45:59 -07:00
  • 91c1e4f071 Spelling fixes Paul Eggert 2024-09-17 22:51:04 -07:00
  • a03e1bac4a Port other reject-format test to non-GNU diff Paul Eggert 2024-09-17 22:28:33 -07:00
  • 9ba5eb00b3 Don’t be fooled by NUL bytes in diff directives Paul Eggert 2024-09-17 17:37:32 -07:00
  • 79dd5e762c Don’t be fooled by "\000" in file name Paul Eggert 2024-09-17 10:33:00 -07:00
  • 8492a6a212 Port to quasi-GNU diff Paul Eggert 2024-09-17 09:34:48 -07:00
  • f6f2c6f31a In previous patch, make w_q static Paul Eggert 2024-09-17 08:31:11 -07:00
  • 0525681eb5 Pacify -Wunterminated-string-initialization Paul Eggert 2024-09-17 08:27:32 -07:00
  • 301411d927 Spelling fixes Andreas Gruenbacher 2024-09-17 10:25:31 +02:00
  • 461520693e Remove double semicolon Andreas Gruenbacher 2024-09-17 09:44:53 +02:00
  • 923e0ef280 Prefer angle bracket headers Andreas Gruenbacher 2024-09-17 09:42:50 +02:00
  • 5d17ca0e5f Update more old copyright notices Andreas Gruenbacher 2024-09-17 09:34:36 +02:00
  • 5f4edd389e Simplify memory allocation of files to delete Paul Eggert 2024-09-16 22:54:53 -07:00
  • 802511c09b Report patch read errors more immediately Paul Eggert 2024-09-16 17:37:19 -07:00
  • a93b50de71 Port fflush usage to OpenBSD 7.5 Paul Eggert 2024-09-16 17:12:55 -07:00
  • 55e224bd73 Update old copyright notices Andreas Gruenbacher 2024-09-17 00:02:34 +02:00
  • 33a7fd89ec Fix gl_gcc_warnings typo in ‘configure’ Paul Eggert 2024-09-16 14:11:16 -07:00
  • 2313b37f6a build: update gnulib submodule to latest Paul Eggert 2024-09-16 11:16:34 -07:00
  • 37fec39c58 Remove some dependencies no longer needed Paul Eggert 2024-09-16 13:33:35 -07:00
  • cc87173e46 Update NEWS as per recent changes Paul Eggert 2024-09-15 22:50:06 -07:00
  • 7887622b77 Update POSIX citations Paul Eggert 2024-09-15 22:45:15 -07:00
  • 18f4dd67ad Use “Gruenbacher” in international contexts Paul Eggert 2024-09-15 22:23:56 -07:00
  • 638675c19a Adjust libs to match recent Gnulib Paul Eggert 2024-09-15 21:55:56 -07:00
  • 53400a17ed Pacify clang -Wbitwise-conditional-parentheses Paul Eggert 2024-09-15 19:25:31 -07:00
  • e8e1bcb7a0 Remove “support” for nested critical sections Paul Eggert 2024-09-15 16:58:37 -07:00
  • b963510dcd Simplify critical section code in util fns Paul Eggert 2024-09-15 16:49:29 -07:00
  • 85949fb4ac Shrink critical sections Paul Eggert 2024-09-15 16:48:01 -07:00
  • 448ff9bc72 Defer signals by hand with sigatomic_t Paul Eggert 2024-09-14 13:42:37 -07:00
  • b95a603908 output_file_later avoid a malloc+free pair Paul Eggert 2024-09-14 14:51:52 -07:00
  • 2663228379 Defend against closed stdin/stdout/stderr Paul Eggert 2024-09-14 12:51:43 -07:00
  • fc779640b0 Stop using Gnulib ‘execute’ module Paul Eggert 2024-09-14 12:44:40 -07:00
  • 470699c8f2 Move defer_signals up Paul Eggert 2024-09-14 10:52:25 -07:00
  • f696e4ef12 Make sigs, NUM_SIGS local Paul Eggert 2024-09-14 10:48:14 -07:00
  • 4d3a4ab09a Rename block_signals Paul Eggert 2024-09-14 08:54:39 -07:00
  • b3bb925cee Trade a bit of space for time in parse_c_string Paul Eggert 2024-09-13 14:30:25 -07:00
  • 070d859e07 Allocate first patchbuf statically Paul Eggert 2024-09-13 14:20:03 -07:00
  • f46a90f137 Use bigger buffer size by default Paul Eggert 2024-09-13 13:04:31 -07:00
  • 2e64cfd98c Preinitialize fatal_act.sa_hander Paul Eggert 2024-09-12 15:31:57 -07:00
  • 45de0d99c8 Prefer EXIT_SUCCESS etc. to literal integers Paul Eggert 2024-09-12 13:24:49 -07:00
  • 82c4940a2e Fix some signal handling races Paul Eggert 2024-09-12 08:41:42 -07:00
  • eceea619a6 Fix --set-utc TZ setting Paul Eggert 2024-09-11 13:31:31 -07:00
  • 9c55d3f541 Improve logic for when rename removes source Paul Eggert 2024-09-11 10:30:14 -07:00
  • 61c72f07b3 Fix signal race when renaming file Paul Eggert 2024-09-11 10:22:54 -07:00
  • 705c9bcdc1 Simplify traverse_another_path via last_component Paul Eggert 2024-09-10 13:49:58 -07:00
  • 77f21a6068 Stop using Gnulib dirname module Paul Eggert 2024-09-10 13:41:17 -07:00
  • fe8ffd9ba4 Fix implausible overflow when reading symlinks Paul Eggert 2024-09-09 16:01:42 -07:00
  • 5e84bda3ff Access checks should use effective, not real Paul Eggert 2024-09-09 09:23:47 -07:00
  • 8d4ca493ed Don’t assume AT_FDCWD != -1 Paul Eggert 2024-09-09 09:08:08 -07:00
  • fe5d4a06f7 Copy input to output attributes via fd if possible Paul Eggert 2024-09-08 17:25:40 -07:00
  • ca4c431f8a Simplify timestamp epoch checking Paul Eggert 2024-09-08 15:22:29 -07:00
  • 0ad4347277 Check for ftello failures Paul Eggert 2024-09-08 14:04:37 -07:00
  • c49a16d0ca Remove format_linenum Paul Eggert 2024-09-08 13:42:52 -07:00
  • 22efdeebaa Fix "with multiple words" line number Paul Eggert 2024-09-08 13:38:14 -07:00
  • 5a70a1b6b9 Drop Plan B Paul Eggert 2024-09-08 12:03:23 -07:00
  • c0d465f21b Prefer ximemdup0 to xmemdup0 Paul Eggert 2024-09-08 09:45:11 -07:00
  • b91aab2c88 Refactor ifetch API Paul Eggert 2024-09-08 08:07:10 -07:00
  • 55c8a5c494 Do not attempt huge I/Os Paul Eggert 2024-09-07 15:37:29 -07:00
  • e0e121efe5 Use outfd when setting file attributes Paul Eggert 2024-09-07 13:20:35 -07:00
  • 241e57ea5b Don’t assume Linux-like S_IFREG Paul Eggert 2024-09-07 13:08:56 -07:00
  • 0f8c62835f Use STDOUT_FILENO etc Paul Eggert 2024-09-07 10:27:28 -07:00
  • f2c3676393 Fix unlikely glitch with ed diffs Paul Eggert 2024-09-07 10:19:23 -07:00
  • cec6407930 Use fds to copy attrs in create_backup_copy Paul Eggert 2024-09-06 22:14:32 -07:00
  • 6b7b01b89b Be more careful about (time_t) -1 Paul Eggert 2024-09-06 19:53:32 -07:00
  • 043355371a X == -1 → X < 0 Paul Eggert 2024-09-06 19:32:54 -07:00
  • 0a66dee829 Let set_file_attributes use fds not names Paul Eggert 2024-09-06 18:23:15 -07:00
  • 36ff2c9296 Port to narrow unsigned uid_t Paul Eggert 2024-09-06 17:10:36 -07:00
  • 3951496739 Check for output errors more systematically Paul Eggert 2024-09-06 16:58:27 -07:00
  • 6429630c0c Report input error right away Paul Eggert 2024-09-06 13:56:59 -07:00
  • 03cb187db6 Simplify EOF testing Paul Eggert 2024-09-06 13:41:48 -07:00
  • cc7cde7a2c Prefer other types to ‘int’ Paul Eggert 2024-09-06 13:30:23 -07:00
  • 4c6650b507 Detect unlikely integer overflow in size calcs Paul Eggert 2024-09-05 19:20:22 -07:00