1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00
freebsd/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
bt_debug.c
bt_delete.c
bt_get.c
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
bt_search.c
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
btree.h
extern.h
Makefile.inc Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00