summaryrefslogtreecommitdiff
path: root/usr.bin/patch/pch.c
AgeCommit message (Expand)Author
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2006-03-11type police and assorted cleanup. From Lionel Fourquaux; ok ray@Otto Moerbeek
2004-08-05spacingTheo de Raadt
2004-07-09Properly detect if a patch already has been applied, even if thereOtto Moerbeek
2004-01-28Fix a segv when patch cannot find a file and the user indicatesOtto Moerbeek
2003-10-31o fairly major man page reorganizationTodd C. Miller
2003-09-28realloc(3) cleanup.Otto Moerbeek
2003-08-15Add license from patch.c to original source files missing a license.Otto Moerbeek
2003-08-05spacingTheo de Raadt
2003-08-01- use stdbool.h instead of roll-your-own booleansOtto Moerbeek
2003-07-29o add pathnames.hTodd C. Miller
2003-07-28minor knf and cleanups; otto okTheo de Raadt
2003-07-28More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h,Otto Moerbeek
2003-07-25Add POSIX -b option but don't change the default beahvior wrt backupsTodd C. Miller
2003-07-22just about nothingTheo de Raadt
2003-07-22POSIX defines allowed commands as {a,c,d,i,s} but patch was onlyTodd C. Miller
2003-07-22More cleanup.Otto Moerbeek
2003-07-21fix headerTheo de Raadt
2003-07-21remove a bit more junkTheo de Raadt
2003-07-21knfTheo de Raadt
2003-07-21knf and other cleanup; ok ottoTheo de Raadt
2003-07-18remove junk; ok otto teduTheo de Raadt
2003-07-17Fix merge error.Otto Moerbeek
2003-07-16Teach patch how to deal with \ No newline at end of file.Otto Moerbeek
2003-04-08strcpy trashing, help from tedu; ok teduTheo de Raadt
2003-04-05string fixes; ok miod henningTheo de Raadt
2000-12-14make patch -f and -b actually skip patches for which the file can't beBob Beck
1999-12-04avoid overflowsNiels Provos
1998-11-25add -CMarc Espie
1997-04-03From FreeBSD 1.7 by markm. The log message:imp
1996-09-24sprintf -> snprintf except where guaranteed safe.Todd 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