History log of /openbsd-current/bin/ksh/table.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.25 16-Jan-2018 jca

Introduce internal_warningf() and mark internal_errorf() as noreturn

This helps tools like scan-build, and follows the example of warningf()
and errorf(). ok anton@


# 1.24 27-Dec-2017 millert

Add -Wshadow to Makefile and fix the resulting warnings. Many of
the warnings are due to the use of globals with generic names,
specifically "options" and "path". I've renamed "options" to
"sh_options" since it holds the shell options and "path" to
"search_path". OK jca@ tb@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.23 01-Nov-2015 mmcc

Add uses of areallocarray(). mksh and Bitrig ksh already have similar
functions. With help from Theo Buehler.

ok nicm@


# 1.22 19-Oct-2015 mmcc

Move stddef.h include from sh.h to the file that uses it.

ok nicm@


# 1.21 19-Oct-2015 mmcc

Move string.h include from sh.h to the files that use it.

ok nicm@


# 1.20 19-Oct-2015 mmcc

Move limits.h include from sh.h to the files that actually need it. No
binary change.

ok nicm@


# 1.19 05-Oct-2015 nicm

Remove EXTERN from table.h and put the definitions in table.c, from
Michael McConville.


# 1.18 18-Sep-2015 nicm

Last of the (thing *)0 -> NULL, from Michael McConville. No binary
change.


# 1.17 17-Sep-2015 nicm

Remove unnecessary casts, from Michael McConville. No binary change.


# 1.16 01-Sep-2015 tedu

remove casts and null checks before free. from Michael McConville
ok deraadt


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.15 19-Feb-2012 otto

Allow for more vars in hash table, improve hash function, increase
hash table size sooner. Based on suggestion from Michael Niedermayer.
ok krw@ mpi@


Revision tags: OPENBSD_5_1_BASE
# 1.14 02-Feb-2012 otto

bound chaeck table expansion; problem seen by Michael Niedermayer;
ok deraadt@ kili@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE
# 1.13 17-Jan-2009 millert

Use libc qsort instead of private version. Tested by several people.


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.12 11-Dec-2005 otto

fix a few name clashes with libc; found by lint. ok deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.11 30-Mar-2005 deraadt

lots of indentation cleanup, now ksh is readable like our other code.
double checked to make sure no binaries change, and eyed by niallo


# 1.10 28-Mar-2005 deraadt

spacing


Revision tags: OPENBSD_3_7_BASE
# 1.9 20-Dec-2004 otto

Ansification plus some minor knf. No binary change on i386 and
sparc64, binary change in lex.o on macppc due to introduction of
dopprompt() prototype. ok millert@


# 1.8 19-Dec-2004 deraadt

spacing


# 1.7 18-Dec-2004 millert

deregister


# 1.6 18-Dec-2004 millert

Remove unused OS dependent #ifdef blocks, #defines and macro abstraction.
First step in making the ksh code easier to read. From Matthias Kilian


Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.5 10-Jan-1999 millert

sync with pdksh-unstable-5.2.13.6


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE
# 1.4 19-Jun-1997 kstailey

back out


# 1.3 18-Jun-1997 kstailey

(foo *)0 -> NULL


# 1.2 19-Aug-1996 downsj

update to pdksh-5.2.8


# 1.1 14-Aug-1996 downsj

branches: 1.1.1;
Initial revision