History log of /netbsd-src/usr.bin/patch/util.h (Results 1 – 13 of 13)
Revision Date Author Comments
# a2ee17b3 18-Jun-2018 christos <christos@NetBSD.org>

Keep things portable (requested by joerg) by not depending on reallocarr
and instead doing the overflow check ourselves.


# d5bd9463 06-Sep-2011 joerg <joerg@NetBSD.org>

Consistently use __dead and __printflike.


# d5b2c9a8 19-Sep-2008 joerg <joerg@NetBSD.org>

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 l

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.

show more ...


# ef4b3d62 12-Jul-2003 itojun <itojun@NetBSD.org>

copyright missing in files, copy them from README


# b86c323d 30-May-2003 kristerw <kristerw@NetBSD.org>

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 cas

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...)

show more ...


# 93318b47 16-Mar-2002 kristerw <kristerw@NetBSD.org>

Check result of malloc and strdup
Made some functions static
Removed unneccessary buffer
Increased size of some buffers that could overflow


# 175b5054 11-Mar-2002 kristerw <kristerw@NetBSD.org>

Ansify
Remove unused defines
Remove #ifndef lint
Remove redundant and incorrect casts.


# 8bcbaa7b 08-Mar-2002 kristerw <kristerw@NetBSD.org>

Ansify
Remove 'register'
Make local functions static.
Remove most '#ifndef lint'


# 135600f9 11-Oct-2000 is <is@NetBSD.org>

More format string cleanup by sommerfeld.


# 795e0608 22-Feb-1998 christos <christos@NetBSD.org>

WARNSify


# 29cf09f4 19-Sep-1996 thorpej <thorpej@NetBSD.org>

RCS id police.


# aee4b07b 02-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.


# 3b63e56c 09-Apr-1993 cgd <cgd@NetBSD.org>

patch 2.0.12u8, from prep.ai.mit.edu. this is not under the GPL.