summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/pch.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC r267490:pfg2014-06-221-1/+1
| | | | | | | | | | | | | | | patch: unsign the line length to avoid overflows. Patch(1) uses a short int for the line length, which is usually sufficient for regular diffs, but makes no effort to signal when there is an overflow. Change the line length to an unsigned short int to better use the fact that a length is never negative. The change is loosely inspired on a related change in DragonFly, but we avoid spending more memory than necessary. While here adjust the messages to be clearer on what is happening.
* MFC r264581, r264744:pfg2014-04-301-4/+4
| | | | | | Various style(9) fixes and typos in printf, grep, sort and patch. #define should be followed by a tab.
* - Refresh code with latest OpenBSD revisions.delphij2013-01-291-3/+1
| | | | | | | | | - Remove $DragonFly$ tags as they are using git nowadays and VCS tags will not help merging. - Other changes to Copyright headers to make them consistent with other source code, we intend to fork from this point. Reviewed by: pfg
* - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) fromgabor2013-01-291-0/+58
| | | | | | | | DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it default and installs GNU patch as gnupatch. Submitted by: pfg Obtained from: The DragonflyBSD Project
* kill the undeadpeter1997-07-131-36/+0
|
* Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,bde1997-07-061-0/+36
| | | | | pascal and vmstat.sparc. All changed files on the vendor branch should already have been imported.
* recording cvs-1.6 file deathpeter1995-12-301-36/+0
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+36
OpenPOWER on IntegriCloud