History log of /openbsd-src/usr.bin/patch/patch.c (Results 51 – 75 of 77)
Revision Date Author Comments
# 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).


# 670d9e99 23-Jul-2003 otto <otto@openbsd.org>

New version of invalid line number fix. Passes patch(1) regressions.

ok millert@ deraadt@


# 37278558 22-Jul-2003 millert <millert@openbsd.org>

Make rejname[] static to patch.c and crank its size to NAME_MAX+1


# 61339dd5 22-Jul-2003 millert <millert@openbsd.org>

Use getopt_long() to parse options instead of rolling our own.
OK deraadt@ and otto@


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

More cleanup.
ok millert@ tedu@


# f2ab214f 21-Jul-2003 otto <otto@openbsd.org>

Back out invalid line number fix. It core dumps in some cases. Problem found by
marc@.
ok henning@


# 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


# 328a6cea 16-Jul-2003 otto <otto@openbsd.org>

Do not produce garbage if the patch file contains invalid line numbers.
ok millert@ tedu@


# 4b066b94 02-Jul-2003 avsm <avsm@openbsd.org>

bump randomness of mktemp to from 6 to 10 X's, as recommended by mktemp(3)


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

string fixes; ok miod henning


# 5647e46b 04-Jul-2002 deraadt <deraadt@openbsd.org>

4 unchecked mallocs; cloder@acm.org


# 35f3aed4 05-Mar-2002 niklas <niklas@openbsd.org>

patch(1) is now free, thanks Larry!


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

avoid overflows


# 444ae62b 31-Aug-1999 espie <espie@openbsd.org>

patch file should hold at least one patch, otherwise we're entitled to
a diagnostic.


# 2b3f4f75 25-Nov-1998 espie <espie@openbsd.org>

add -C


# 71eaa2b5 22-Sep-1997 millert <millert@openbsd.org>

Start of -Wall and cleaning up icky bits.


# 180acc8f 17-Jan-1997 millert <millert@openbsd.org>

r?index -> strr?chr


# 7ecb9955 24-Sep-1996 millert <millert@openbsd.org>

sprintf -> snprintf except where guaranteed safe.


# 7ffd4e56 24-Sep-1996 millert <millert@openbsd.org>

Use mkstemp(). Since temp files get re-used we use mkstemp() to make
us a "place holder" (and discard the fd) to protect from DOS attacks
and then just re-use that.


# 07e278b0 23-Sep-1996 deraadt <deraadt@openbsd.org>

undo last; mkstemp is *hard* to do in here


# da8c4810 15-Sep-1996 millert <millert@openbsd.org>

Be slightly safer opening temp files.


# 4c36d7f7 01-Jul-1996 deraadt <deraadt@openbsd.org>

undo mktemp cleanup until i get it right


# b004f8f9 25-Jun-1996 deraadt <deraadt@openbsd.org>

mktemp w/ open & fdopen


1234