fix handling of overly-long TZ environment variable values
authorRich Felker <dalias@aerifal.cx>
Sat, 9 Nov 2013 01:50:59 +0000 (20:50 -0500)
committerRich Felker <dalias@aerifal.cx>
Sat, 9 Nov 2013 01:50:59 +0000 (20:50 -0500)
commit1d0d2df609b2e47615c7798d1a09e69a2caff24b
tree6214e755a3080ac06c4947678fb3659c7c2905a1
parent8db165258117851e7c5b766ed364e800f18bb40e
fix handling of overly-long TZ environment variable values

the rest of the code is not prepared to handle an empty TZ string, so
falling back to __gmt ("GMT"), just as if TZ had been blank or unset,
is the preferable action.
src/time/__tz.c