freebsd-skq/lib/libc/db/btree
Warner Losh e8420087b0 Replace memory leaking instances of realloc with non-leaking reallocf.
In some cases replace if (a == null) a = malloc(x); else a =
realloc(a, x); with simple reallocf(a, x).  Per ANSI-C, this is
guaranteed to be the same thing.

I've been running these on my system here w/o ill effects for some
time.  However, the CTM-express is at part 6 of 34 for the CAM
changes, so I've not been able to do a build world with the CAM in the
tree with these changes.  Shouldn't impact anything, but...
1998-09-16 04:17:47 +00:00
..
bt_close.c Fix conflicts and merge into mainline 1996-02-27 19:42:00 +00:00
bt_conv.c Import updated Berkeley DB into CSRG branch 1996-02-27 01:59:15 +00:00
bt_debug.c Import updated Berkeley DB into CSRG branch 1996-02-27 01:59:15 +00:00
bt_delete.c Import updated Berkeley DB into CSRG branch 1996-02-27 01:59:15 +00:00
bt_get.c Import updated Berkeley DB into CSRG branch 1996-02-27 01:59:15 +00:00
bt_open.c Don't trust TMPDIR if we're setuid root. This is used only for the 1998-09-11 05:29:47 +00:00
bt_overflow.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
bt_page.c Fix btree problems. This passes regressions tests. 1998-06-25 18:50:06 +00:00
bt_put.c Import updated Berkeley DB into CSRG branch 1996-02-27 01:59:15 +00:00
bt_search.c Import updated Berkeley DB into CSRG branch 1996-02-27 01:59:15 +00:00
bt_seq.c Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
bt_split.c Fix btree problems. This passes regressions tests. 1998-06-25 18:50:06 +00:00
bt_utils.c Import updated Berkeley DB into CSRG branch 1996-02-27 01:59:15 +00:00
btree.h Import updated Berkeley DB into CSRG branch 1996-02-27 01:59:15 +00:00
extern.h Import updated Berkeley DB into CSRG branch 1996-02-27 01:59:15 +00:00
Makefile.inc Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00