summaryrefslogtreecommitdiff
path: root/usr.bin/patch
AgeCommit message (Collapse)Author
1997-09-22Start of -Wall and cleaning up icky bits.Todd C. Miller
1997-09-06I hate static buffer sizes! Prolongue the max length of a line to 8KNiklas Hallqvist
(from 1K which a patch in ports/print/ghostscript5 had a line longer than).
1997-06-24*** empty log message ***dgregor
1997-04-03From FreeBSD 1.7 by markm. The log message:imp
Priorities were broken. If there was an Index: line and ***/--- lines with valid names, the ***/---names were taken first. this broke eg: Index: foo/Makefile ========== RCS <blah> Retrieving <blah> diff <blah> *** Makefile <blah> --- Makefile <blah> By trying to patch the Makefile in the _curent_ directory, rather than the one in the foo/ directory.
1997-01-17rindex -> strrchrTodd C. Miller
1997-01-17more r?index -> strr?chrTodd C. Miller
1997-01-17r?index -> strr?chrTodd C. Miller
1996-09-24sprintf -> snprintf except where guaranteed safe.Todd C. Miller
1996-09-24Use mkstemp(). Since temp files get re-used we use mkstemp() to makeTodd C. Miller
us a "place holder" (and discard the fd) to protect from DOS attacks and then just re-use that.
1996-09-23undo last; mkstemp is *hard* to do in hereTheo de Raadt
1996-09-15Be slightly safer opening temp files.Todd C. Miller
1996-07-01undo mktemp cleanup until i get it rightTheo de Raadt
1996-06-25mktemp w/ open & fdopenTheo de Raadt
1996-06-10Support the long options that FSF's patch version has. $OpenBSD$ addedNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt