summaryrefslogtreecommitdiff
path: root/m4/locale-ar.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-08-15 16:05:35 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-08-15 16:06:29 -0700
commitc863cc75571098bf0aac1c2fb87b74cb9016dc68 (patch)
tree86102eea0b96105e6d7941a1f5b46c77d2c23bfa /m4/locale-ar.m4
parent4b612ed38a58801c05b650c845bc56cd906bed18 (diff)
downloadgnulib-c863cc75571098bf0aac1c2fb87b74cb9016dc68.tar.gz
nstrftime: be more predictable about errno
This aligns nstrftime better with draft POSIX 202x strftime. * lib/nstrftime.c: Include errno.h. (width_add, __strftime_internal): Set errno on failure, and preserve it on success. Check for mktime_z failure. * modules/nstrftime (Depends-on): Add errno. * modules/nstrftime-tests (Depends-on): Add atoll, intprops. * tests/test-nstrftime.c: Include intprops.h, limits.h. (errno_test): New test function. (main): Call it.
Diffstat (limited to 'm4/locale-ar.m4')
0 files changed, 0 insertions, 0 deletions