History log of /netbsd-src/usr.bin/patch/common.h (Results 1 – 22 of 22)
Revision Date Author Comments
# 9265e94b 25-May-2021 cjep <cjep@NetBSD.org>

As per OpenBSD, use malloc for the line buffer. Fixes the known issue
with long lines and makes our ATF test suite pass fully.
Closes PR bin/54620 from coypu who suggested the approach.
Reviewed by c

As per OpenBSD, use malloc for the line buffer. Fixes the known issue
with long lines and makes our ATF test suite pass fully.
Closes PR bin/54620 from coypu who suggested the approach.
Reviewed by christos.

show more ...


# 2703f4af 24-Jul-2015 christos <christos@NetBSD.org>

Use absolute paths for RCS commands (Martin Natano)


# 59de2004 26-Nov-2014 christos <christos@NetBSD.org>

Avoid coredumps when the linenumbers in the hunks turn negative.
From: http://marc.info/?l=openbsd-tech&m=141693055412785

XXX: pullup 7


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


# bd560fde 14-Oct-2007 lukem <lukem@NetBSD.org>

Convert to using raise_default_signal(3).


# 4f9669ed 25-Mar-2005 skd <skd@NetBSD.org>

add --dry-run like gnu patch.


# 38b27406 30-Jul-2003 itojun <itojun@NetBSD.org>

remove unused macros


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

copyright missing in files, copy them from README


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

Remove stuff that are not needed any longer.


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


# 2a9882e7 29-May-2003 kristerw <kristerw@NetBSD.org>

Be consistent with use of types (e.g. do not use LINENUM for quantities
that are not line numbers).


# 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'


# 141aa9e5 09-Feb-1999 sommerfe <sommerfe@NetBSD.org>

Fix PR2429: catch doubly-applied patches which create new files.


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

WARNSify


# a26c93f4 22-Nov-1997 augustss <augustss@NetBSD.org>

Increase maximum line length. (Prompted by trying to use the FreeBSD
ghostscript package.)


# 0c81e588 22-Mar-1997 lukem <lukem@NetBSD.org>

use mkstemp() instead of mktemp() to create the tempfile


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

RCS id police.


# 1c759e89 24-Dec-1994 cgd <cgd@NetBSD.org>

headers and redundant declarations.


# e26987fe 28-Mar-1994 cgd <cgd@NetBSD.org>

kill lseek def'n. the entire thing needs cleanup badly


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