summaryrefslogtreecommitdiff
path: root/usr.bin/patch/util.c
AgeCommit message (Expand)Author
2005-05-16Do not call out mkdir -p, but reuse the code from mkdir(1).Marc Espie
2004-11-19Allow for path names containing spaces and other funny chars (exceptOtto Moerbeek
2004-08-05spacingTheo de Raadt
2003-10-31o fairly major man page reorganizationTodd C. Miller
2003-08-15Add license from patch.c to original source files missing a license.Otto Moerbeek
2003-08-01- use stdbool.h instead of roll-your-own booleansOtto Moerbeek
2003-07-31Unbreak relative directory handling. Tweak from millert@Otto Moerbeek
2003-07-30Make prompting POSIX-compliant. POSIX states "The patch utilityTodd C. Miller
2003-07-29o add pathnames.hTodd C. Miller
2003-07-28Don't treat consecutive slashes as path components; matches POSIXTodd C. Miller
2003-07-28More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h,Otto Moerbeek
2003-07-28Make patch(1) exit value match POSIX and be consistent with diff.Todd C. Miller
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-22More cleanup.Otto Moerbeek
2003-07-21fix headerTheo de Raadt
2003-07-21remove a bit more junkTheo de Raadt
2003-07-21knf and other cleanup; ok ottoTheo de Raadt
2003-07-18remove junk; ok otto teduTheo de Raadt
2003-04-08strcpy trashing, help from tedu; ok teduTheo de Raadt
2003-04-05string fixes; ok miod henningTheo de Raadt
1999-12-04a few more overflows goneNiels Provos
1999-12-04revert strlcpy to strcpy for one case.Niels Provos
1999-12-04avoid overflowsNiels Provos
1999-01-11fix seg fault on sparcMarco S Hyman
1999-01-03Use libc basename(3) and dirname(3) instead of defining our own. Also clean ...Todd C. Miller
1997-09-22Start of -Wall and cleaning up icky bits.Todd C. Miller
1996-09-24sprintf -> snprintf except where guaranteed safe.Todd C. Miller
1996-06-10Support the long options that FSF's patch version has. $OpenBSD$ addedNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt