]> git.pld-linux.org Git - packages/glibc.git/blob - glibc-tzfile_read.patch
- up for 2.8
[packages/glibc.git] / glibc-tzfile_read.patch
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),
This page took 0.045601 seconds and 3 git commands to generate.