freebsd-dev/lib/libedit
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
..
TEST
chared.c
chared.h
common.c
editline.3
editrc.5
el.c
el.h
emacs.c
hist.c
hist.h
history.c
key.c
key.h
Makefile
makelist
map.c
map.h
parse.c
parse.h
prompt.c
prompt.h
read.c
refresh.c
refresh.h
search.c
search.h
sig.c
sig.h
sys.h
term.c
term.h
tokenizer.c
tokenizer.h
tty.c
tty.h
vi.c