summaryrefslogtreecommitdiff
path: root/usr.bin/patch/util.c
AgeCommit message (Collapse)Author
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
up some nasty assumptions that basename() returns a pointer that lies within its argument
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