aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/patch.c
AgeCommit message (Expand)Author
2021-02-07Add lots of "static" annotations, make a couple things use FLAG() macros, etc.Rob Landley
2020-07-20patch fuzz: Always output original file's ' ' context lines, not from hunk.Rob Landley
2020-04-20patch: fix out of bounds memory access.Elliott Hughes
2020-02-28Some compilers get upset if ? : produces different types.Rob Landley
2020-02-24Fix fuzz to output lines that didn't match patch context.Rob Landley
2020-02-02Canonicalize the usage: lines for the POSIX toys.Elliott Hughes
2019-12-21Add patch -F (fuzz factor)Rob Landley
2019-12-21Tighten up unquote_file()Rob Landley
2019-12-20patch: support [FILE [PATCH]] arguments.Elliott Hughes
2019-09-11Add NOP -f, -g#, and --no-backup-if-mismatch options.Rob Landley
2019-08-29diff and patch: support special characters in filenames with quoting as well ...William Haddon
2019-01-14Minor cleanups to patch. (Mostly whitespace and brackets.)Rob Landley
2019-01-13Better support patching files with tabs in the name.Rob Landley
2019-01-12patch: add -s to the synopsis line and fix typos.Elliott Hughes
2019-01-11patch: add -s/--quiet.Elliott Hughes
2018-12-04Clean up some --help formatting.Elliott Hughes
2018-08-25Convert more argument variables in GLOBALS() to new style.Rob Landley
2018-04-08Add mkpath() for common case of mkpathat(), and #define magic constants.Rob Landley
2016-08-04Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout,Rob Landley
2016-06-30Add patch -d and --dry-runRob Landley
2015-11-01Last patch broke creating new file as a patch, fix it.Rob Landley
2015-11-01Fix applying patch hunks with trailing context to the start of the file.Rob Landley
2014-08-05Fix a couple patch bugs concerning error output.Rob Landley
2014-06-28Use dlist_terminate() in patch.Rob Landley
2014-03-11Move mkpathat to lib, remove redundant function used by patch.Rob Landley
2013-10-31Make the patch -x option (only enabled with CONFIG_DEBUG) provide more inform...Rob Landley
2013-09-09Adjust patch to use dlist_pop()Rob Landley
2013-03-21Fix a bug in patch I fixed back in 2010 but forgot to apply here.Rob Landley
2012-11-13Reindent to two spaces per level. Remove vi: directives that haven't worked r...Rob Landley
2012-11-12Yet another attempt to get the fiddly patch file creation logic right.Rob Landley
2012-11-10Fix reversed test: patch creates a file if /dev/null or dated the epoch _and_...Rob Landley
2012-10-08New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_c...Rob Landley
2012-10-07Missing line in patch -l. Oops.Rob Landley
2012-10-06patch -l (loose match)Rob Landley
2012-08-25Regularize command headers, update links to standards documents.Rob Landley
2012-08-25Move commands into "posix", "lsb", and "other" menus/directories.Rob Landley