Searched hist:248672 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10-stable/lib/libc/stdtime/
H A DMakefile.incdiff 248672 Sat Mar 23 23:42:11 MDT 2013 dim 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

Completed in 152 milliseconds