1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/lib/libc/stdtime
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
..
asctime.c Make asctime_r static if !_THREAD_SAFE to prevent namespace pollution and 1998-04-25 00:00:57 +00:00
ctime.3 Describe timegm() 1998-04-20 00:52:32 +00:00
difftime.c
localtime.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
Makefile.inc Describe timegm() 1998-04-20 00:52:32 +00:00
private.h
strftime.3 Fix grammar, "null" -> "NUL" 1998-06-10 12:37:45 +00:00
strftime.c Fixed printf format errors. Don't assume so many things about time_t. 1998-06-30 16:49:47 +00:00
strptime.3 Change return type of strptime from const char* to char*. 1998-09-12 21:13:29 +00:00
strptime.c Change return type of strptime from const char* to char*. 1998-09-12 21:13:29 +00:00
time2posix.3 it's'' -> its'' where appropriate and typo fixes in time2posix.3. 1997-05-19 16:33:27 +00:00
timelocal.c Replace memory leaking instances of realloc with non-leaking reallocf. 1998-09-16 04:17:47 +00:00
timelocal.h Import strptime(3) into libc. We've got permission by Kevin Ruddy to 1997-08-09 15:43:59 +00:00
tzfile.5 Remove 'of type long' from a sentence talking about four 4-byte values 1998-05-10 21:21:01 +00:00
tzfile.h