History log of /openbsd-src/usr.bin/patch/inp.c (Results 26 – 49 of 49)
Revision Date Author Comments
# 0a5e4e80 05-Aug-2003 deraadt <deraadt@openbsd.org>

spacing


# 74555556 05-Aug-2003 otto <otto@openbsd.org>

- Use mmap(2) instead of malloc(3) and read(2) to get an image of the input
file into memory. Some suggestions by tedu@.
- Add a debug option to force using Plan B.

ok millert@ deraadt@


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


# da07b79c 31-Jul-2003 otto <otto@openbsd.org>

Print a maximum of one invalid line number warning per patch in a patch file.
Thanks to espie@ for spotting the problem.

ok millert@ henning@ espie@


# 04e367a6 28-Jul-2003 deraadt <deraadt@openbsd.org>

minor knf and cleanups; otto ok


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


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

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

ok millert@ deraadt@


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

just about nothing


# 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


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

remove a bit more junk


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


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

4 unchecked mallocs; cloder@acm.org


# 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


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


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

sprintf -> snprintf except where guaranteed safe.


# 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


# 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


12