]>
Commit | Line | Data |
---|---|---|
7d9f7104 SS |
1 | --- glibc-2.7/time/tzfile.c.orig 2007-11-01 11:28:53.717388999 +0000 |
2 | +++ glibc-2.7/time/tzfile.c 2007-11-01 11:29:33.711287677 +0000 | |
3 | @@ -381,7 +381,7 @@ | |
4 | else | |
5 | tzspec[tzspec_len - 1] = '\0'; | |
6 | } | |
7 | - else if (sizeof (time_t) == 4 && tzhead.tzh_version != '\0') | |
8 | + else if (sizeof (time_t) == 4 && tzhead.tzh_version[0] != '\0') | |
9 | { | |
10 | /* Get the TZ string. */ | |
11 | if (__builtin_expect (fread_unlocked ((void *) &tzhead, sizeof (tzhead), |