summaryrefslogtreecommitdiff
path: root/usr.bin/patch/patch.c
AgeCommit message (Expand)Author
2003-07-18remove junk; ok otto teduTheo de Raadt
2003-07-16Do not produce garbage if the patch file contains invalid line numbers.Otto Moerbeek
2003-07-02bump randomness of mktemp to from 6 to 10 X's, as recommended by mktemp(3)Anil Madhavapeddy
2003-04-05string fixes; ok miod henningTheo de Raadt
2002-07-044 unchecked mallocs; cloder@acm.orgTheo de Raadt
2002-03-05patch(1) is now free, thanks Larry!Niklas Hallqvist
1999-12-04avoid overflowsNiels Provos
1999-08-31patch file should hold at least one patch, otherwise we're entitled toMarc Espie
1998-11-25add -CMarc Espie
1997-09-22Start of -Wall and cleaning up icky bits.Todd 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
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