]> granicus.if.org Git - musl/commit
fix mishandling of empty or blank TZ environment variable
authorRich Felker <dalias@aerifal.cx>
Sat, 24 Aug 2013 03:07:09 +0000 (23:07 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 24 Aug 2013 03:07:09 +0000 (23:07 -0400)
commitbd5ed22c58c1356f22fb69a8c392f650a0d89443
tree4a5aa6bbddb7d68470a0bc8aa9aacc84120631c6
parent7211551e9ff7c8c9d1491856088cf832f2722bd6
fix mishandling of empty or blank TZ environment variable

the empty TZ string was matching equal to the initial value of the
cached TZ name, thus causing do_tzset never to run and never to
initialize the time zone data.
src/time/__tz.c