summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/common.h
AgeCommit message (Expand)AuthorFilesLines
2019-12-02Use getline(3) to handle lines longer than 8192 bytes in patch filesjca1-3/+4
2015-07-26Remove support for automatically checking files out of RCS. Themillert1-5/+1
2014-11-25Introduce strtolinenum to properly check line numbers while parsing:tobias1-1/+3
2014-11-22Remove SCCS support. For this to work, we would need "get", which we don'ttobias1-5/+1
2006-03-11type police and assorted cleanup. From Lionel Fourquaux; ok ray@otto1-2/+4
2003-10-31o fairly major man page reorganizationmillert1-1/+2
2003-08-15Add license from patch.c to original source files missing a license.otto1-1/+27
2003-08-10Do not add an extra newline at the end if the last line of the inputotto1-1/+2
2003-08-01- use stdbool.h instead of roll-your-own booleansotto1-5/+3
2003-07-31Print a maximum of one invalid line number warning per patch in a patch file.otto1-1/+2
2003-07-28minor knf and cleanups; otto okderaadt1-2/+2
2003-07-28More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h,otto1-49/+30
2003-07-22Missed this in the rejname commit.millert1-2/+1
2003-07-22More cleanup.otto1-32/+10
2003-07-21fix headerderaadt1-1/+1
2003-07-21remove a bit more junkderaadt1-18/+3
2003-07-21knf and other cleanup; ok ottoderaadt1-35/+35
2003-07-18remove junk; ok otto teduderaadt1-44/+3
2003-04-08oh, and the false protos can goderaadt1-3/+1
2003-04-08Strcat and Strcpy are no longer usedderaadt1-3/+1
1999-01-03Use 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 argumentmillert1-1/+2
1997-09-22Start of -Wall and cleaning up icky bits.millert1-1/+4
1997-09-06I hate static buffer sizes! Prolongue the max length of a line to 8Kniklas1-2/+2
1997-06-24*** empty log message ***dgregor1-1/+2
1997-01-17rindex -> strrchrmillert1-2/+2
1996-09-24sprintf -> snprintf except where guaranteed safe.millert1-6/+4
1996-09-24Use mkstemp(). Since temp files get re-used we use mkstemp() to makemillert1-3/+4
1996-06-25mktemp w/ open & fdopenderaadt1-1/+2
1996-06-10Support the long options that FSF's patch version has. $OpenBSD$ addedniklas1-1/+1
1995-10-18initial import of NetBSD treederaadt1-0/+184