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 Fixes assorted problems with the history edit functions in libedit. This 1998-06-27 16:10:40 +00:00
chared.h Fixes assorted problems with the history edit functions in libedit. This 1998-06-27 16:10:40 +00:00
common.c Fixes assorted problems with the history edit functions in libedit. This 1998-06-27 16:10:40 +00:00
editline.3 Spelling corrections. 1998-06-06 05:50:53 +00:00
editrc.5 Spelling fixes. 1998-06-10 12:34:27 +00:00
el.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
el.h Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
emacs.c
hist.c
hist.h
history.c
key.c ctype: portability, sign extension and cleanup fixes 1997-06-27 11:50:56 +00:00
key.h
Makefile Improve dependancy behaviour a little more. 1997-07-28 03:33:04 +00:00
makelist Don't use absolute path. 1998-05-27 07:39:05 +00:00
map.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
map.h
parse.c ctype: portability, sign extension and cleanup fixes 1997-06-27 11:50:56 +00:00
parse.h
prompt.c
prompt.h
read.c Fixes assorted problems with the history edit functions in libedit. This 1998-06-27 16:10:40 +00:00
refresh.c ctype: portability, sign extension and cleanup fixes 1997-06-27 11:50:56 +00:00
refresh.h
search.c Fix vi-mode searching broken with the NetBSD changes update. 1997-07-14 13:21:08 +00:00
search.h
sig.c
sig.h
sys.h
term.c Fixed print format errors. 1998-06-30 18:03:05 +00:00
term.h
tokenizer.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
tokenizer.h
tty.c Don't swap carriage return and new line in quoted mode (after ^V). 1998-01-22 07:37:10 +00:00
tty.h
vi.c Fixes assorted problems with the history edit functions in libedit. This 1998-06-27 16:10:40 +00:00