]> Savannah Git Hosting - gnulib.git/commit
parse-datetime-tests: port to Alpine Linux 3.12.1
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 12 Nov 2020 03:08:27 +0000 (19:08 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 12 Nov 2020 03:21:19 +0000 (19:21 -0800)
commit4c9a3c65e279977af4e345748ba73ab0441dc04a
tree98c7618deb47cd3a14cd695839ad35f07b3ceee5
parent1833000138491bb45df7df0627a33774fd52682d
parse-datetime-tests: port to Alpine Linux 3.12.1

* tests/test-parse-datetime.c: Include errno.h for errno,
and unistd.h for _SC_TZNAME_MAX and sysconf.
(main): In the outlandishly-long time zone abbreviation test,
do not exceed TZNAME_MAX as this has undefined behavior,
and on Alpine Linux 3.12.1 it makes the test fail.
ChangeLog
tests/test-parse-datetime.c