aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/patch/common.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove our hacked GNU patch.Pedro F. Giffuni2013-09-031-195/+0
| | | | | | | | | | | | | | The old (2.1) GNU patch has outlived its days. The major local changes have been moved into the less restrictedly licensed patch(1) we adopted in usr.bin/ . A much newer version of GNU patch is available in the ports tree (devel/patch). Disconnect from the build and remove. Notes: svn path=/head/; revision=255191
* The buffer returned by fgenln is not a "C" string and might not be NULStephane E. Potvin2009-09-161-0/+1
| | | | | | | | | | terminated. Make sure that it is before using it. Reviewed by: marck@ MFC after: 3 days Notes: svn path=/head/; revision=197259
* Change the internal buffer used to store input lines from a static bufferStephane E. Potvin2009-05-081-2/+3
| | | | | | | | | | | to a dynamically allocated one in order to support input lines of arbitrary length. Approved by: kan (mentor) MFC after: 1 month Notes: svn path=/head/; revision=191910
* Prevent stack-smashing buffer overflows in -D and -r options by usingKris Kennaway2002-10-131-0/+3
| | | | | | | | | | buffer-safe string functions. The rest of the code is still probably unsafe. MFC after: 1 week Notes: svn path=/head/; revision=105017
* Add many prototypes and ANSI-ize 'patch. Not a complete job of it, but it getsGarance A Drosehn2002-04-281-1/+1
| | | | | | | | | | | | our patch to look a little more like NetBSD's, and has the nice characteristic that the object code is exactly the same after the change as before it (even in patch.c and pch.c, which have pesky 'assert' statements in them). Reviewed by: /sbin/md5 on i386, alpha, sparc64 MFC after: 3 days Notes: svn path=/head/; revision=95601
* Clean up some $Log$ debris, including some real messes.Peter Wemm1999-09-051-13/+0
| | | | Notes: svn path=/head/; revision=50965
* $Header$ -> $FreeBSD$Peter Wemm1999-08-281-1/+4
| | | | Notes: svn path=/head/; revision=50488
* Resurrect patch 2.1 without FreeBSD Index: hackAndrey A. Chernov1998-01-211-0/+200
| | | | Notes: svn path=/head/; revision=32672
* Upgrade to 2.5 (contrib version)Andrey A. Chernov1998-01-041-197/+0
| | | | Notes: svn path=/head/; revision=32252
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-4/+8
| | | | Notes: svn path=/head/; revision=8858
* Increaed the fixed static buffer sizes and maximum hunk size thatRich Murphey1993-09-221-5/+8
| | | | | | | otherwise causes the XFree86 1.3 patch set to fail. Notes: svn path=/head/; revision=497
* b-maked patch-2.10Paul Richards1993-06-191-0/+190
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=33