freebsd-dev/lib/libc/stdtime
Dimitry Andric 7e4de3c228 Compile contrib/tzcode/stdtime/localtime.c with -fwrapv, since it relies
on signed integer overflow wrapping.  Otherwise mktime(3) and timegm(3)
can hang, in case the timestamp passed in struct tm is not representable
in a time_t.  Specifically, any timestamp after 2038-01-19 03:14:07, in
combination with a 32-bit time_t.

Note that it would be better to change the code to not rely on undefined
behaviour, but it is contributed code, and it is not entirely trivial to
fix the issue properly.

MFC after:	3 days
2013-03-24 01:35:37 +00:00
..
Makefile.inc Compile contrib/tzcode/stdtime/localtime.c with -fwrapv, since it relies 2013-03-24 01:35:37 +00:00
strftime.3 Add more locale-specific functions to the relevant man pages and 2012-06-25 21:51:40 +00:00
strftime.c libc: Reduce relative relocations in strftime(). 2012-06-17 21:40:13 +00:00
strptime.3 Add more locale-specific functions to the relevant man pages and 2012-06-25 21:51:40 +00:00
strptime.c Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
Symbol.map
time32.c
timelocal.c Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
timelocal.h Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00