Home | History | Annotate | Download | only in patch
History log of /src/usr.bin/patch/util.h
RevisionDateAuthorComments
 1.13  18-Jun-2018  christos Keep things portable (requested by joerg) by not depending on reallocarr
and instead doing the overflow check ourselves.
 1.12  06-Sep-2011  joerg branches: 1.12.40;
Consistently use __dead and __printflike.
 1.11  19-Sep-2008  joerg Update patch to the version used by DragonFly and derived from OpenBSD.
Major changes are:
- better detection of double applied patches
- rejects remain unified diffs for unified patches
- far less limitations, e.g. patch lines may be arbitrary long

This addresses PR standards/11220 by changing patch -b behavior to be
POSIX compliant. Old behavior can be obtained using --suffix, which
works since NetBSD 1.4. pkgsrc has been adjusted accordingly.
 1.10  12-Jul-2003  itojun copyright missing in files, copy them from README
 1.9  30-May-2003  kristerw Simplify handling of memory allocation, and make sure all return values
from malloc etc. are handled.

This removes the old behavior to retry the operation with a less memory-
consuming method in case malloc failed (this mechanism has never really
worked, and is hard to test. Besides, it is less useful now than it was
20 years ago when the code was written...)
 1.8  16-Mar-2002  kristerw Check result of malloc and strdup
Made some functions static
Removed unneccessary buffer
Increased size of some buffers that could overflow
 1.7  11-Mar-2002  kristerw Ansify
Remove unused defines
Remove #ifndef lint
Remove redundant and incorrect casts.
 1.6  08-Mar-2002  kristerw Ansify
Remove 'register'
Make local functions static.
Remove most '#ifndef lint'
 1.5  11-Oct-2000  is More format string cleanup by sommerfeld.
 1.4  22-Feb-1998  christos branches: 1.4.2; 1.4.10;
WARNSify
 1.3  19-Sep-1996  thorpej RCS id police.
 1.2  02-Aug-1993  mycroft Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
 1.1  09-Apr-1993  cgd branches: 1.1.1;
patch 2.0.12u8, from prep.ai.mit.edu. this is not under the GPL.
 1.1.1.1  09-Jan-1997  tls Import from 4.4BSD-Lite2
 1.4.10.1  18-Oct-2000  tv Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.4.2.1  19-Oct-2000  he Pull up revision 1.5 (requested by he):
Format string cleanup.
 1.12.40.1  25-Jun-2018  pgoyette Sync with HEAD

RSS XML Feed