Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-12-08 | MAP_FILE is the default and MAP_PRIVATE has to be given or produces evil ↵ | Michael Shalayeff | |
warnings in debug kernel | |||
2003-11-21 | madvise(sequential) the mmap()ed file and plug an fd leak on mmap() failure; ↵ | Michael Shalayeff | |
millert@ ok | |||
2003-10-31 | o fairly major man page reorganization | Todd C. Miller | |
o add --posix option for strict POSIX conformance o change filename determination to match GNU patch Tested by various people, including a full ports build by naddy@ | |||
2003-09-28 | realloc(3) cleanup. | Otto Moerbeek | |
ok cloder@ tedu@ | |||
2003-08-15 | Add license from patch.c to original source files missing a license. | Otto Moerbeek | |
ok deraadt@ | |||
2003-08-12 | Fix no newline at end of file case for Plan B. | Otto Moerbeek | |
ok millert@ tedu@ | |||
2003-08-10 | Do not add an extra newline at the end if the last line of the input | Otto Moerbeek | |
file contains no newline and the diff does not touch the last line. Contributions from millert@. ok millert@ tedu@ | |||
2003-08-10 | Warn if the diff is a context or unified diff and the context | Otto Moerbeek | |
is empty. In this case, a previously applied patch cannot be detected. ok millert@ tedu@ | |||
2003-08-08 | Avoid scanning the input file twice. | Otto Moerbeek | |
ok millert@ tedu@ | |||
2003-08-05 | spacing | Theo de Raadt | |
2003-08-05 | - Use mmap(2) instead of malloc(3) and read(2) to get an image of the input | Otto Moerbeek | |
file into memory. Some suggestions by tedu@. - Add a debug option to force using Plan B. ok millert@ deraadt@ | |||
2003-08-01 | - use stdbool.h instead of roll-your-own booleans | Otto Moerbeek | |
- fix some -Wall warnings - fix asserts: in some cases remove them, in other cases they have become Internal errors or detection of malformed patch files. - fix some free() related code ok millert@ tedu@ | |||
2003-07-31 | Historically, patch would treat a bare -p as -p0. This contradicts | Todd C. Miller | |
POSIX and GNU patch has also removed this, so we will too. No objections on icb (no one even seemed to know about this "feature"). | |||
2003-07-31 | Unbreak relative directory handling. Tweak from millert@ | Otto Moerbeek | |
ok millert@ | |||
2003-07-31 | Print a maximum of one invalid line number warning per patch in a patch file. | Otto Moerbeek | |
Thanks to espie@ for spotting the problem. ok millert@ henning@ espie@ | |||
2003-07-30 | Add POSIX -i option; tedu@ OK | Todd C. Miller | |
2003-07-30 | Make prompting POSIX-compliant. POSIX states "The patch utility | Todd C. Miller | |
shall write a prompt to standard output and request a filename interactively from the controlling terminal (for example, /dev/tty)." OK deraadt@ and otto@ | |||
2003-07-29 | o add pathnames.h | Todd C. Miller | |
o ignore empty TMPDIR environment variable o strip any trailing slashes from TMPDIR otto@ OK | |||
2003-07-28 | minor knf and cleanups; otto ok | Theo de Raadt | |
2003-07-28 | Don't treat consecutive slashes as path components; matches POSIX | Todd C. Miller | |
OK otto@ and deraadt@ | |||
2003-07-28 | More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h, | Otto Moerbeek | |
some rewriting of code to make it more readable and more KNF. ok millert@ tedu@ deraadt@ | |||
2003-07-28 | Be more exact on how backup files are handled. | Otto Moerbeek | |
ok millert@ tedu@ | |||
2003-07-28 | Be more exact on how backup files are handled. | Otto Moerbeek | |
ok millert@ tedu@ | |||
2003-07-28 | Make patch(1) exit value match POSIX and be consistent with diff. | Todd C. Miller | |
Comments and OK from otto@ | |||
2003-07-25 | Add POSIX -b option but don't change the default beahvior wrt backups | Todd C. Miller | |
yet. The old -b option is now -z (matches GNU patch). | |||
2003-07-24 | "options" not "switches"; jmc@ OK | Todd C. Miller | |
also update Larry's email address while I am at it ;-) | |||
2003-07-24 | Don't talk about ~ and # suffixes for orig and reject files since we | Todd C. Miller | |
use .orig and .rej. | |||
2003-07-24 | mdoc version; | Jason McIntyre | |
ok millert@ | |||
2003-07-23 | New version of invalid line number fix. Passes patch(1) regressions. | Otto Moerbeek | |
ok millert@ deraadt@ | |||
2003-07-22 | Missed this in the rejname commit. | Todd C. Miller | |
2003-07-22 | Make rejname[] static to patch.c and crank its size to NAME_MAX+1 | Todd C. Miller | |
2003-07-22 | Use getopt_long() to parse options instead of rolling our own. | Todd C. Miller | |
OK deraadt@ and otto@ | |||
2003-07-22 | just about nothing | Theo de Raadt | |
2003-07-22 | nicer | Theo de Raadt | |
2003-07-22 | POSIX defines allowed commands as {a,c,d,i,s} but patch was only | Todd C. Miller | |
recognizing {a,c,d}. We need to recognize 's' (substitute) for the "dot alone on a line" bug fix in diff(1). | |||
2003-07-22 | More cleanup. | Otto Moerbeek | |
ok millert@ tedu@ | |||
2003-07-21 | Back out invalid line number fix. It core dumps in some cases. Problem found by | Otto Moerbeek | |
marc@. ok henning@ | |||
2003-07-21 | fix header | Theo de Raadt | |
2003-07-21 | remove a bit more junk | Theo de Raadt | |
2003-07-21 | knf | Theo de Raadt | |
2003-07-21 | knf and other cleanup; ok otto | Theo de Raadt | |
2003-07-18 | remove junk; ok otto tedu | Theo de Raadt | |
2003-07-17 | Fix merge error. | Otto Moerbeek | |
ok millert@ tedu@ | |||
2003-07-16 | Teach patch how to deal with \ No newline at end of file. | Otto Moerbeek | |
From NetBSD. ok deraadt@ | |||
2003-07-16 | Do not produce garbage if the patch file contains invalid line numbers. | Otto Moerbeek | |
ok millert@ tedu@ | |||
2003-07-02 | bump randomness of mktemp to from 6 to 10 X's, as recommended by mktemp(3) | Anil Madhavapeddy | |
2003-04-08 | oh, and the false protos can go | Theo de Raadt | |
2003-04-08 | Strcat and Strcpy are no longer used | Theo de Raadt | |
2003-04-08 | strcpy trashing, help from tedu; ok tedu | Theo de Raadt | |
2003-04-06 | another asprintf() simplifies things further | Todd C. Miller | |