SOURCES: glibc-tzfile_read.patch (NEW) - fixes obvious error in __...
sls
sls at pld-linux.org
Thu Nov 1 14:23:31 CET 2007
Author: sls Date: Thu Nov 1 13:23:31 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fixes obvious error in __tzfile_read function
---- Files affected:
SOURCES:
glibc-tzfile_read.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/glibc-tzfile_read.patch
diff -u /dev/null SOURCES/glibc-tzfile_read.patch:1.1
--- /dev/null Thu Nov 1 14:23:31 2007
+++ SOURCES/glibc-tzfile_read.patch Thu Nov 1 14:23:26 2007
@@ -0,0 +1,11 @@
+--- glibc-2.7/time/tzfile.c.orig 2007-11-01 11:28:53.717388999 +0000
++++ glibc-2.7/time/tzfile.c 2007-11-01 11:29:33.711287677 +0000
+@@ -381,7 +381,7 @@
+ else
+ tzspec[tzspec_len - 1] = '\0';
+ }
+- else if (sizeof (time_t) == 4 && tzhead.tzh_version != '\0')
++ else if (sizeof (time_t) == 4 && tzhead.tzh_version[0] != '\0')
+ {
+ /* Get the TZ string. */
+ if (__builtin_expect (fread_unlocked ((void *) &tzhead, sizeof (tzhead),
================================================================
More information about the pld-cvs-commit
mailing list