summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Use getline(3) to handle lines longer than 8192 bytes in patch filesjca2019-12-021-4/+4
* signal handlers should not call exit() due to possibility of reenteringderaadt2019-08-171-7/+23
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-7/+7
* Delete unnecessary <libgen.h> #includesguenther2018-12-301-2/+1
* Remove unused pathnames.h header since patch was refactoring into not invokinganton2018-04-071-2/+1
* Remove support for automatically checking files out of RCS. Themillert2015-07-261-25/+1
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-4/+3
* The function savestr allows NULL return values during Plan A patching so intobias2014-12-131-1/+17
* Remove SCCS support. For this to work, we would need "get", which we don'ttobias2014-11-221-5/+3
* unsigned char casts for ctypederaadt2013-11-261-5/+5
* Send normal output to stdout instead of everything to stderr. Thisray2010-07-241-3/+3
* Don't leak memory after strdup() in makedirs().oga2010-01-081-2/+4
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-5/+1
* type police and assorted cleanup. From Lionel Fourquaux; ok ray@otto2006-03-111-2/+3
* umask juggling not needed; with Lionel Fourquaux.otto2005-06-201-6/+3
* Do not call out mkdir -p, but reuse the code from mkdir(1).espie2005-05-161-9/+8
* Allow for path names containing spaces and other funny chars (exceptotto2004-11-191-4/+6
* spacingderaadt2004-08-051-2/+2
* o fairly major man page reorganizationmillert2003-10-311-20/+31
* Add license from patch.c to original source files missing a license.otto2003-08-151-2/+28
* - use stdbool.h instead of roll-your-own booleansotto2003-08-011-4/+4
* Unbreak relative directory handling. Tweak from millert@otto2003-07-311-4/+5
* Make prompting POSIX-compliant. POSIX states "The patch utilitymillert2003-07-301-34/+18
* o add pathnames.hmillert2003-07-291-6/+8
* Don't treat consecutive slashes as path components; matches POSIXmillert2003-07-281-7/+7
* More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h,otto2003-07-281-32/+29
* Make patch(1) exit value match POSIX and be consistent with diff.millert2003-07-281-5/+5
* Add POSIX -b option but don't change the default beahvior wrt backupsmillert2003-07-251-86/+67
* just about nothingderaadt2003-07-221-3/+3
* More cleanup.otto2003-07-221-12/+35
* fix headerderaadt2003-07-211-2/+2
* remove a bit more junkderaadt2003-07-211-3/+3
* knf and other cleanup; ok ottoderaadt2003-07-211-317/+311
* remove junk; ok otto teduderaadt2003-07-181-107/+98
* strcpy trashing, help from tedu; ok teduderaadt2003-04-081-3/+3
* string fixes; ok miod henningderaadt2003-04-051-3/+3
* a few more overflows goneprovos1999-12-041-40/+19
* revert strlcpy to strcpy for one case.provos1999-12-041-3/+3
* avoid overflowsprovos1999-12-041-9/+12
* fix seg fault on sparcmarc1999-01-111-3/+3
* Use libc basename(3) and dirname(3) instead of defining our own. Also clean up some nasty assumptions that basename() returns a pointer that lies within its argumentmillert1999-01-031-14/+11
* Start of -Wall and cleaning up icky bits.millert1997-09-221-25/+18
* sprintf -> snprintf except where guaranteed safe.millert1996-09-241-4/+4
* Support the long options that FSF's patch version has. $OpenBSD$ addedniklas1996-06-101-1/+3
* initial import of NetBSD treederaadt1995-10-181-0/+441