diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-11-15 22:59:33 +0100 |
---|---|---|
committer | Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr> | 2018-11-15 22:59:33 +0100 |
commit | de20b81a038fe1c2060ce28125eec3838de5bdc5 (patch) | |
tree | ae2649aa4c207cbca62707369cb98d3d3ea72d82 /time/bug-mktime4.c | |
parent | 8c6c3fb0bceba87045eccadcfa50129ea95a6ebf (diff) | |
download | glibc-de20b81a038fe1c2060ce28125eec3838de5bdc5.zip glibc-de20b81a038fe1c2060ce28125eec3838de5bdc5.tar.gz glibc-de20b81a038fe1c2060ce28125eec3838de5bdc5.tar.bz2 |
mktime: fix EOVERFLOW bug
[BZ#23789]
* time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
Include libc-config.h, not config.h, for __set_errno.
(guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
Diffstat (limited to 'time/bug-mktime4.c')
0 files changed, 0 insertions, 0 deletions