tst-tzset: output reason when creating 4GiB file fails
authorStafford Horne <shorne@gmail.com>
Sun, 19 Sep 2021 21:03:07 +0000 (06:03 +0900)
committerStafford Horne <shorne@gmail.com>
Fri, 12 Nov 2021 23:08:47 +0000 (08:08 +0900)
commitafbf26492a5adccc4c4eda00eb588b0b79e4290a
tree849888d1c7124734446b182f3329f52d22f9416f
parentd672a98a1af106bd68deb15576710cd61363f7a6
tst-tzset: output reason when creating 4GiB file fails

Currently, if the temporary file creation fails the create_tz_file
function returns NULL.  The NULL pointer is then passed to setenv which
causes a SIGSEGV.  Rather than failing with a SIGSEGV print a warning
and exit.
timezone/tst-tzset.c