History log of /openbsd-src/usr.bin/patch/util.h (Results 1 – 18 of 18)
Revision Date Author Comments
# 34060d49 17-Aug-2019 deraadt <deraadt@openbsd.org>

signal handlers should not call exit() due to possibility of reentering
libc (stdio etc), instead do the unlink tasks then call _exit() instead
ok millert


# 7e39cfac 26-Jul-2015 millert <millert@openbsd.org>

Remove support for automatically checking files out of RCS. The
behavior is confusing to users and even GNU patch no longer does
it by default. OK krw@ guenther@


# 71847ebd 13-Dec-2014 tobias <tobias@openbsd.org>

The function savestr allows NULL return values during Plan A patching so in
case of out of memory conditions, Plan B can step in. In many cases, NULL
value is not properly handled, so use xstrdup he

The function savestr allows NULL return values during Plan A patching so in
case of out of memory conditions, Plan B can step in. In many cases, NULL
value is not properly handled, so use xstrdup here (it's outside Plan A/B
patching, which means that even Plan B relies on successful operations).

show more ...


# 6fd3743f 20-Jun-2005 otto <otto@openbsd.org>

umask juggling not needed; with Lionel Fourquaux.
ok millert@ espie@


# a6dfabda 16-May-2005 espie <espie@openbsd.org>

Do not call out mkdir -p, but reuse the code from mkdir(1).

Removes the possibility of nasty stuff happening thanks to unquoted
arguments in system(1).

Also plug a small memory leak.

Problems noti

Do not call out mkdir -p, but reuse the code from mkdir(1).

Removes the possibility of nasty stuff happening thanks to unquoted
arguments in system(1).

Also plug a small memory leak.

Problems noticed by Lionel Fourquaud.

okay millert@, deraadt@

show more ...


# ec347eb8 05-Aug-2004 deraadt <deraadt@openbsd.org>

spacing


# 53900eee 31-Oct-2003 millert <millert@openbsd.org>

o fairly major man page reorganization
o add --posix option for strict POSIX conformance
o change filename determination to match GNU patch
Tested by various people, including a full ports build by n

o fairly major man page reorganization
o add --posix option for strict POSIX conformance
o change filename determination to match GNU patch
Tested by various people, including a full ports build by naddy@

show more ...


# ddf7b806 15-Aug-2003 otto <otto@openbsd.org>

Add license from patch.c to original source files missing a license.

ok deraadt@


# 03269102 28-Jul-2003 otto <otto@openbsd.org>

More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h,
some rewriting of code to make it more readable and more KNF.

ok millert@ tedu@ deraadt@


# 7fe8583a 25-Jul-2003 millert <millert@openbsd.org>

Add POSIX -b option but don't change the default beahvior wrt backups
yet. The old -b option is now -z (matches GNU patch).


# 0a9b58de 22-Jul-2003 deraadt <deraadt@openbsd.org>

nicer


# fb8601a0 22-Jul-2003 otto <otto@openbsd.org>

More cleanup.
ok millert@ tedu@


# 72e24984 21-Jul-2003 deraadt <deraadt@openbsd.org>

fix header


# be55ebd7 21-Jul-2003 deraadt <deraadt@openbsd.org>

knf and other cleanup; ok otto


# 5dc74f7d 18-Jul-2003 deraadt <deraadt@openbsd.org>

remove junk; ok otto tedu


# 8b6f9cfe 03-Jan-1999 millert <millert@openbsd.org>

Use libc basename(3) and dirname(3) instead of defining our own. Also clean up some nasty assumptions that basename() returns a pointer that lies within its argument


# d438cbb6 10-Jun-1996 niklas <niklas@openbsd.org>

Support the long options that FSF's patch version has. $OpenBSD$ added


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree