Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use getline(3) to handle lines longer than 8192 bytes in patch files | 2019-12-02 | 1 | -3/+4 | |
| | | | | | Spotted by jsg@ when working on mesa. Diff tested by sthen@ in a partial i386 bulk. Input from and ok jsg@ millert@ | ||||
* | Remove support for automatically checking files out of RCS. The | 2015-07-26 | 1 | -5/+1 | |
| | | | | | behavior is confusing to users and even GNU patch no longer does it by default. OK krw@ guenther@ | ||||
* | Introduce strtolinenum to properly check line numbers while parsing: | 2014-11-25 | 1 | -1/+3 | |
| | | | | | | no signs, no spaces, just digits, 0 <= x <= LONG_MAX ok millert, otto | ||||
* | Remove SCCS support. For this to work, we would need "get", which we don't | 2014-11-22 | 1 | -5/+1 | |
| | | | | | | even have in ports. XSI functionality of POSIX, therefore optional. ok deraadt, schwarze, tedu | ||||
* | type police and assorted cleanup. From Lionel Fourquaux; ok ray@ | 2006-03-11 | 1 | -2/+4 | |
| | |||||
* | o fairly major man page reorganization | 2003-10-31 | 1 | -1/+2 | |
| | | | | | | o add --posix option for strict POSIX conformance o change filename determination to match GNU patch Tested by various people, including a full ports build by naddy@ | ||||
* | Add license from patch.c to original source files missing a license. | 2003-08-15 | 1 | -1/+27 | |
| | | | | ok deraadt@ | ||||
* | Do not add an extra newline at the end if the last line of the input | 2003-08-10 | 1 | -1/+2 | |
| | | | | | | | file contains no newline and the diff does not touch the last line. Contributions from millert@. ok millert@ tedu@ | ||||
* | - use stdbool.h instead of roll-your-own booleans | 2003-08-01 | 1 | -5/+3 | |
| | | | | | | | | | - fix some -Wall warnings - fix asserts: in some cases remove them, in other cases they have become Internal errors or detection of malformed patch files. - fix some free() related code ok millert@ tedu@ | ||||
* | Print a maximum of one invalid line number warning per patch in a patch file. | 2003-07-31 | 1 | -1/+2 | |
| | | | | | | Thanks to espie@ for spotting the problem. ok millert@ henning@ espie@ | ||||
* | minor knf and cleanups; otto ok | 2003-07-28 | 1 | -2/+2 | |
| | |||||
* | More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h, | 2003-07-28 | 1 | -49/+30 | |
| | | | | | | some rewriting of code to make it more readable and more KNF. ok millert@ tedu@ deraadt@ | ||||
* | Missed this in the rejname commit. | 2003-07-22 | 1 | -2/+1 | |
| | |||||
* | More cleanup. | 2003-07-22 | 1 | -32/+10 | |
| | | | | ok millert@ tedu@ | ||||
* | fix header | 2003-07-21 | 1 | -1/+1 | |
| | |||||
* | remove a bit more junk | 2003-07-21 | 1 | -18/+3 | |
| | |||||
* | knf and other cleanup; ok otto | 2003-07-21 | 1 | -35/+35 | |
| | |||||
* | remove junk; ok otto tedu | 2003-07-18 | 1 | -44/+3 | |
| | |||||
* | oh, and the false protos can go | 2003-04-08 | 1 | -3/+1 | |
| | |||||
* | Strcat and Strcpy are no longer used | 2003-04-08 | 1 | -3/+1 | |
| | |||||
* | 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 argument | 1999-01-03 | 1 | -1/+2 | |
| | |||||
* | Start of -Wall and cleaning up icky bits. | 1997-09-22 | 1 | -1/+4 | |
| | |||||
* | I hate static buffer sizes! Prolongue the max length of a line to 8K | 1997-09-06 | 1 | -2/+2 | |
| | | | | (from 1K which a patch in ports/print/ghostscript5 had a line longer than). | ||||
* | *** empty log message *** | 1997-06-24 | 1 | -1/+2 | |
| | |||||
* | rindex -> strrchr | 1997-01-17 | 1 | -2/+2 | |
| | |||||
* | sprintf -> snprintf except where guaranteed safe. | 1996-09-24 | 1 | -6/+4 | |
| | |||||
* | Use mkstemp(). Since temp files get re-used we use mkstemp() to make | 1996-09-24 | 1 | -3/+4 | |
| | | | | | us a "place holder" (and discard the fd) to protect from DOS attacks and then just re-use that. | ||||
* | mktemp w/ open & fdopen | 1996-06-25 | 1 | -1/+2 | |
| | |||||
* | Support the long options that FSF's patch version has. $OpenBSD$ added | 1996-06-10 | 1 | -1/+1 | |
| | |||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+184 | |