History log of /openbsd-src/usr.bin/patch/backupfile.c (Results 1 – 23 of 23)
Revision Date Author Comments
# d756b25f 22-Mar-2024 jcs <jcs@openbsd.org>

add "-V none" to prevent making any backups

from FreeBSD

ok bluhm deraadt


# ea25487c 12-Oct-2020 naddy <naddy@openbsd.org>

Accommodate POSIX basename(3) that takes a non-const parameter and
may modify the string buffer. From Joerg Sonnenberger for DragonFly BSD.
ok millert@


# 6cd4fad2 26-Nov-2013 deraadt <deraadt@openbsd.org>

unsigned char casts for ctype
ok krw


# 043fbe51 27-Oct-2009 deraadt <deraadt@openbsd.org>

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(th

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

show more ...


# 5e2529bc 11-Mar-2006 otto <otto@openbsd.org>

type police and assorted cleanup. From Lionel Fourquaux; ok ray@


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

spacing


# 0e9f50d8 01-Aug-2003 otto <otto@openbsd.org>

- use stdbool.h instead of roll-your-own booleans
- fix some -Wall warnings
- fix asserts: in some cases remove them, in other cases they have
become Internal errors or detection of malformed patch f

- use stdbool.h instead of roll-your-own booleans
- fix some -Wall warnings
- fix asserts: in some cases remove them, in other cases they have
become Internal errors or detection of malformed patch files.
- fix some free() related code

ok millert@ tedu@

show more ...


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


# ea13368a 28-Jul-2003 millert <millert@openbsd.org>

Make patch(1) exit value match POSIX and be consistent with diff.
Comments and OK from otto@


# 9ecaafb2 22-Jul-2003 deraadt <deraadt@openbsd.org>

just about nothing


# 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


# 45276380 06-Apr-2003 millert <millert@openbsd.org>

another asprintf() simplifies things further


# 1f7e104b 05-Apr-2003 deraadt <deraadt@openbsd.org>

string fixes; ok miod henning


# b759e02b 04-Dec-1999 provos <provos@openbsd.org>

a few more overflows gone


# 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


# 5f0451dd 03-Jan-1999 millert <millert@openbsd.org>

back out last change, other parts of patch rely on basename() returning a ptr to a part of name, not a new string


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

we have basename(3) and dirname(3) in libc (albeit with slightly different semantics


# 08e8032d 17-Jan-1997 millert <millert@openbsd.org>

more r?index -> strr?chr


# 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