Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Historically, patch would treat a bare -p as -p0. This contradicts | 2003-07-31 | 2 | -9/+7 | ||
| | | | | | 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"). | |||||
* | Unbreak relative directory handling. Tweak from millert@ | 2003-07-31 | 1 | -4/+5 | ||
| | | | | ok millert@ | |||||
* | Print a maximum of one invalid line number warning per patch in a patch file. | 2003-07-31 | 3 | -6/+12 | ||
| | | | | | | Thanks to espie@ for spotting the problem. ok millert@ henning@ espie@ | |||||
* | Add POSIX -i option; tedu@ OK | 2003-07-30 | 2 | -10/+24 | ||
| | ||||||
* | Make prompting POSIX-compliant. POSIX states "The patch utility | 2003-07-30 | 1 | -34/+18 | ||
| | | | | | | shall write a prompt to standard output and request a filename interactively from the controlling terminal (for example, /dev/tty)." OK deraadt@ and otto@ | |||||
* | o add pathnames.h | 2003-07-29 | 4 | -32/+47 | ||
| | | | | | | o ignore empty TMPDIR environment variable o strip any trailing slashes from TMPDIR otto@ OK | |||||
* | minor knf and cleanups; otto ok | 2003-07-28 | 4 | -28/+25 | ||
| | ||||||
* | Don't treat consecutive slashes as path components; matches POSIX | 2003-07-28 | 1 | -7/+7 | ||
| | | | | OK otto@ and deraadt@ | |||||
* | More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h, | 2003-07-28 | 11 | -233/+157 | ||
| | | | | | | some rewriting of code to make it more readable and more KNF. ok millert@ tedu@ deraadt@ | |||||
* | Be more exact on how backup files are handled. | 2003-07-28 | 1 | -3/+3 | ||
| | | | | ok millert@ tedu@ | |||||
* | Be more exact on how backup files are handled. | 2003-07-28 | 1 | -59/+114 | ||
| | | | | ok millert@ tedu@ | |||||
* | Make patch(1) exit value match POSIX and be consistent with diff. | 2003-07-28 | 4 | -20/+29 | ||
| | | | | Comments and OK from otto@ | |||||
* | Add POSIX -b option but don't change the default beahvior wrt backups | 2003-07-25 | 5 | -111/+121 | ||
| | | | | yet. The old -b option is now -z (matches GNU patch). | |||||
* | "options" not "switches"; jmc@ OK | 2003-07-24 | 1 | -13/+12 | ||
| | | | | also update Larry's email address while I am at it ;-) | |||||
* | Don't talk about ~ and # suffixes for orig and reject files since we | 2003-07-24 | 1 | -19/+5 | ||
| | | | | use .orig and .rej. | |||||
* | mdoc version; | 2003-07-24 | 1 | -316/+325 | ||
| | | | | ok millert@ | |||||
* | New version of invalid line number fix. Passes patch(1) regressions. | 2003-07-23 | 2 | -10/+19 | ||
| | | | | ok millert@ deraadt@ | |||||
* | Missed this in the rejname commit. | 2003-07-22 | 1 | -2/+1 | ||
| | ||||||
* | Make rejname[] static to patch.c and crank its size to NAME_MAX+1 | 2003-07-22 | 1 | -3/+8 | ||
| | ||||||
* | Use getopt_long() to parse options instead of rolling our own. | 2003-07-22 | 2 | -222/+143 | ||
| | | | | OK deraadt@ and otto@ | |||||
* | just about nothing | 2003-07-22 | 4 | -13/+13 | ||
| | ||||||
* | nicer | 2003-07-22 | 1 | -4/+4 | ||
| | ||||||
* | POSIX defines allowed commands as {a,c,d,i,s} but patch was only | 2003-07-22 | 1 | -6/+5 | ||
| | | | | | recognizing {a,c,d}. We need to recognize 's' (substitute) for the "dot alone on a line" bug fix in diff(1). | |||||
* | More cleanup. | 2003-07-22 | 10 | -325/+296 | ||
| | | | | ok millert@ tedu@ | |||||
* | Back out invalid line number fix. It core dumps in some cases. Problem found by | 2003-07-21 | 2 | -11/+6 | ||
| | | | | | marc@. ok henning@ | |||||
* | fix header | 2003-07-21 | 13 | -18/+19 | ||
| | ||||||
* | remove a bit more junk | 2003-07-21 | 4 | -41/+20 | ||
| | ||||||
* | knf | 2003-07-21 | 1 | -8/+14 | ||
| | ||||||
* | knf and other cleanup; ok otto | 2003-07-21 | 13 | -2902/+2852 | ||
| | ||||||
* | remove junk; ok otto tedu | 2003-07-18 | 17 | -1450/+445 | ||
| | ||||||
* | Fix merge error. | 2003-07-17 | 1 | -4/+4 | ||
| | | | | ok millert@ tedu@ | |||||
* | Teach patch how to deal with \ No newline at end of file. | 2003-07-16 | 1 | -2/+63 | ||
| | | | | | From NetBSD. ok deraadt@ | |||||
* | Do not produce garbage if the patch file contains invalid line numbers. | 2003-07-16 | 2 | -7/+14 | ||
| | | | | ok millert@ tedu@ | |||||
* | bump randomness of mktemp to from 6 to 10 X's, as recommended by mktemp(3) | 2003-07-02 | 1 | -6/+6 | ||
| | ||||||
* | oh, and the false protos can go | 2003-04-08 | 1 | -3/+1 | ||
| | ||||||
* | Strcat and Strcpy are no longer used | 2003-04-08 | 1 | -3/+1 | ||
| | ||||||
* | strcpy trashing, help from tedu; ok tedu | 2003-04-08 | 2 | -6/+6 | ||
| | ||||||
* | another asprintf() simplifies things further | 2003-04-06 | 1 | -7/+3 | ||
| | ||||||
* | string fixes; ok miod henning | 2003-04-05 | 4 | -41/+27 | ||
| | ||||||
* | copyrights added; | 2003-02-18 | 1 | -1/+21 | ||
| | | | | | | ed(1): Andrew Moore patch(1): Larry Wall (thanks espie@ for help with this one) units(1): Adrian Mariano | |||||
* | typo; jmc@prioris.mini.pw.edu.pl | 2003-01-06 | 1 | -3/+3 | ||
| | ||||||
* | 4 unchecked mallocs; cloder@acm.org | 2002-07-04 | 2 | -4/+14 | ||
| | ||||||
* | patch(1) is now free, thanks Larry! | 2002-03-05 | 2 | -6/+36 | ||
| | ||||||
* | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | 2002-02-19 | 1 | -6/+1 | ||
| | ||||||
* | kill more registers | 2001-11-19 | 1 | -32/+32 | ||
| | | | | millert@ ok | |||||
* | make patch -f and -b actually skip patches for which the file can't be | 2000-12-14 | 1 | -2/+3 | ||
| | | | | found, instead of claiming it will and erroring out anyway. | |||||
* | a few more overflows gone | 1999-12-04 | 2 | -43/+22 | ||
| | ||||||
* | revert strlcpy to strcpy for one case. | 1999-12-04 | 1 | -3/+3 | ||
| | ||||||
* | avoid overflows | 1999-12-04 | 3 | -21/+28 | ||
| | ||||||
* | patch file should hold at least one patch, otherwise we're entitled to | 1999-08-31 | 1 | -2/+6 | ||
| | | | | a diagnostic. |