1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/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 Add extra test functionality. 1997-06-25 08:14:45 +00:00
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 8bit cleaness (ctype) fixes 1996-08-11 19:20:30 +00:00
hist.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
hist.h Update libedit with changes from NetBSD. Includes history load/save, 1997-06-25 08:14:24 +00:00
history.c Update libedit with changes from NetBSD. Includes history load/save, 1997-06-25 08:14:24 +00:00
key.c ctype: portability, sign extension and cleanup fixes 1997-06-27 11:50:56 +00:00
key.h Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
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 Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
parse.c ctype: portability, sign extension and cleanup fixes 1997-06-27 11:50:56 +00:00
parse.h Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
prompt.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
prompt.h BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
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 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
search.c Fix vi-mode searching broken with the NetBSD changes update. 1997-07-14 13:21:08 +00:00
search.h Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
sig.c Update libedit with changes from NetBSD. Includes history load/save, 1997-06-25 08:14:24 +00:00
sig.h BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
sys.h Update libedit with changes from NetBSD. Includes history load/save, 1997-06-25 08:14:24 +00:00
term.c Fixed print format errors. 1998-06-30 18:03:05 +00:00
term.h Nuke local termcap.h and use system one 1995-08-04 09:26:10 +00:00
tokenizer.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
tokenizer.h Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
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 Update libedit with changes from NetBSD. Includes history load/save, 1997-06-25 08:14:24 +00:00
vi.c Fixes assorted problems with the history edit functions in libedit. This 1998-06-27 16:10:40 +00:00