History log of /openbsd-current/bin/csh/error.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.17 18-Sep-2018 millert

Restore the xmalloc(), xcalloc(), xreallocarray() and xstrdup() changes.
OK deraadt@


# 1.16 18-Sep-2018 deraadt

backout last week of csh diffs. They are disasterously broken, on i386
it becomes entirely unusable.


# 1.15 15-Sep-2018 miko

strsave() is hard-fail strdup() so simplify and rename to xstrdup().
with help from martijn@.

ok millert@ martijn@


# 1.14 08-Sep-2018 miko

blkfree() takes no action for NULL pointer so callers can avoid checking.

ok jca@


Revision tags: OPENBSD_6_3_BASE
# 1.13 16-Dec-2017 anton

Passing NULL to free() is fine; from Michael W. Bombardieri.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.12 26-Dec-2015 mestre

Replace handrolled xfree() function by directly using free(3)

OK mmcc@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.11 08-Feb-2015 tedu

delete many more ptr_t casts


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.10 11-Nov-2009 deraadt

incorrect range check, > vs >=, on the error list, spotted by parfait
ok otto jsg


# 1.9 27-Oct-2009 deraadt

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


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.8 17-May-2008 sobrado

documentation tweaks.

ok (some time ago) jmc@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.7 17-Mar-2006 otto

off-by-one; inspired by a netbsd coverity fix; ok deraadt@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.6 11-Jun-2003 deraadt

de-register and ansify functions


# 1.5 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.4 19-Feb-2002 millert

We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.


Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.3 30-Aug-2000 mickey

prevent core dumps when stderror() is called before reslab is initialized


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE
# 1.2 15-Nov-1997 todd

spelling


Revision tags: OPENBSD_2_2_BASE
# 1.1 22-Sep-1997 millert

err.[ch] -> error.[ch] and fix err/warn usage.


# 1.13 16-Dec-2017 anton

Passing NULL to free() is fine; from Michael W. Bombardieri.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.12 26-Dec-2015 mestre

Replace handrolled xfree() function by directly using free(3)

OK mmcc@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.11 08-Feb-2015 tedu

delete many more ptr_t casts


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.10 11-Nov-2009 deraadt

incorrect range check, > vs >=, on the error list, spotted by parfait
ok otto jsg


# 1.9 27-Oct-2009 deraadt

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


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.8 17-May-2008 sobrado

documentation tweaks.

ok (some time ago) jmc@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.7 17-Mar-2006 otto

off-by-one; inspired by a netbsd coverity fix; ok deraadt@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.6 11-Jun-2003 deraadt

de-register and ansify functions


# 1.5 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.4 19-Feb-2002 millert

We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.


Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.3 30-Aug-2000 mickey

prevent core dumps when stderror() is called before reslab is initialized


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE
# 1.2 15-Nov-1997 todd

spelling


Revision tags: OPENBSD_2_2_BASE
# 1.1 22-Sep-1997 millert

err.[ch] -> error.[ch] and fix err/warn usage.