freebsd-dev/lib/libc/regex
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
..
cclass.h Use locale for character classes instead of hardcoded values 1996-08-11 11:42:03 +00:00
cname.h General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
COPYRIGHT BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
engine.c Use locale for character classes instead of hardcoded values 1996-08-11 11:42:03 +00:00
Makefile.inc Removed the subdirectory paths from the definitions of MAN[1-9]. They 1997-10-15 16:16:41 +00:00
re_format.7 Note that '+' and '?' are not special characters in basic REs but they 1998-02-14 18:26:29 +00:00
regcomp.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
regerror.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
regex2.h int -> long changes that reduce the diffs with the NetBSD version to 1998-05-14 21:45:18 +00:00
regex.3 Correctly use .Fn instead of .Nm to reference function names 1996-08-22 23:31:07 +00:00
regexec.c int -> long changes that reduce the diffs with the NetBSD version to 1998-05-14 21:45:18 +00:00
regfree.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
utils.h BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
WHATSNEW BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00