Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libc/time
Module Name: src
Committed By: christos
Date: Tue Feb 2 19:04:38 UTC 2010
Modified Files:
src/lib/libc/time: ctime.3 localtime.c
Log Message:
According to TOG:
- asctime{,_r}, ctime{,_r} may return NULL; document that, and avoid coredumps.
- gmtime{,_r}, localtime{,_r} may return NULL and set EOVERFLOW, document and
set errno.
- when mktime returns (time_t)-1, make it set EOVERFLOW and document it.
XXX: Should be pulled up to 5.x
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libc/time/ctime.3
cvs rdiff -u -r1.45 -r1.46 src/lib/libc/time/localtime.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index