summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/pch.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove unused pathnames.h header since patch was refactoring into not invokinganton2018-04-071-2/+1
* Fix adding and removing files with git-style a/ b/ diffs: only skiptb2017-12-201-3/+5
* Unbreak previous for git diffs that do not have the a/ prefix.florian2017-05-301-2/+2
* sometimes patches coming from other places have extra a/ and b/ directoriestedu2017-05-261-7/+15
* One string buffer can use recallocarray() to ensure that the address spacederaadt2017-03-261-2/+2
* If reading fails, do not go into infinite loop asking for a filenameotto2016-09-021-3/+5
* Add native support for ed-style diffs. No need to pledge "proc exec" anymore.tobias2015-10-161-85/+7
* Account for newlines in substitution (s///) commands. Substitutionmillert2015-07-311-2/+14
* Remove support for automatically checking files out of RCS. Themillert2015-07-261-27/+11
* Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@millert2015-02-051-1/+2
* Handle ed command "s" as a one line command, which it is.tobias2014-12-141-3/+3
* The function savestr allows NULL return values during Plan A patching so intobias2014-12-131-7/+7
* spacesderaadt2014-12-081-2/+2
* three trivial reallocarray() usesderaadt2014-12-011-4/+4
* Properly validate line ranges supplied in diff file to prevent overflows.tobias2014-11-261-4/+27
* Introduce strtolinenum to properly check line numbers while parsing:tobias2014-11-251-32/+48
* Remove SCCS support. For this to work, we would need "get", which we don'ttobias2014-11-221-2/+2
* Avoid iterating over end of string.tobias2014-11-181-3/+3
* Check fstat return value. Also, use off_t for file size and offsets astobias2014-11-171-37/+39
* unsigned char casts for ctypederaadt2013-11-261-25/+28
* Bring file selection in accordance with the man page; from Stefan Esserotto2013-07-111-35/+33
* Silence gcc warnings.ajacoutot2012-04-111-1/+3
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-5/+1
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-5/+5
* type police and assorted cleanup. From Lionel Fourquaux; ok ray@otto2006-03-111-4/+3
* spacingderaadt2004-08-051-3/+3
* Properly detect if a patch already has been applied, even if thereotto2004-07-091-2/+8
* Fix a segv when patch cannot find a file and the user indicatesotto2004-01-281-3/+3
* o fairly major man page reorganizationmillert2003-10-311-63/+183
* realloc(3) cleanup.otto2003-09-281-7/+27
* Add license from patch.c to original source files missing a license.otto2003-08-151-2/+28
* spacingderaadt2003-08-051-8/+8
* - use stdbool.h instead of roll-your-own booleansotto2003-08-011-91/+97
* o add pathnames.hmillert2003-07-291-6/+5
* minor knf and cleanups; otto okderaadt2003-07-281-13/+11
* More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h,otto2003-07-281-26/+29
* Add POSIX -b option but don't change the default beahvior wrt backupsmillert2003-07-251-4/+6
* just about nothingderaadt2003-07-221-4/+4
* POSIX defines allowed commands as {a,c,d,i,s} but patch was onlymillert2003-07-221-6/+5
* More cleanup.otto2003-07-221-103/+107
* fix headerderaadt2003-07-211-2/+2
* remove a bit more junkderaadt2003-07-211-8/+8
* knfderaadt2003-07-211-8/+14
* knf and other cleanup; ok ottoderaadt2003-07-211-1152/+1165
* remove junk; ok otto teduderaadt2003-07-181-95/+95
* Fix merge error.otto2003-07-171-4/+4
* Teach patch how to deal with \ No newline at end of file.otto2003-07-161-2/+63
* strcpy trashing, help from tedu; ok teduderaadt2003-04-081-3/+3
* string fixes; ok miod henningderaadt2003-04-051-9/+11
* make patch -f and -b actually skip patches for which the file can't bebeck2000-12-141-2/+3