diff options
author | Rich Felker <dalias@aerifal.cx> | 2017-06-20 20:31:35 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-06-20 20:31:35 -0400 |
commit | 64f855874c32e192382df69f4765a7e32057a005 (patch) | |
tree | 06a2b8930057e9a0e52aaefa06fcd9a1dc417dc6 /src/linux/prlimit.c | |
parent | 2d7d05f031e014068a61d3076c6178513395d2ae (diff) | |
download | musl-64f855874c32e192382df69f4765a7e32057a005.tar.gz musl-64f855874c32e192382df69f4765a7e32057a005.tar.xz musl-64f855874c32e192382df69f4765a7e32057a005.zip |
handle errors from localtime_r in ctime_r
POSIX requires ctime_r return a null pointer on failure, which can occur if the input time_t value is not representable in broken down form. based on patch by Alexander Monakov.
Diffstat (limited to 'src/linux/prlimit.c')
0 files changed, 0 insertions, 0 deletions