]> git.pld-linux.org Git - packages/glibc.git/blame - glibc-tzfile-noassert.patch
Rel 8; fixes from upstream
[packages/glibc.git] / glibc-tzfile-noassert.patch
CommitLineData
dc2fca92
JB
1--- libc/time/tzfile.c.orig 2004-03-20 01:37:50.000000000 +0100
2+++ libc/time/tzfile.c 2004-06-29 17:40:15.000000000 +0200
3@@ -313,7 +313,9 @@
4 {
5 /* This should only happen if there are no transition rules.
6 In this case there should be only one single type. */
7- assert (num_types == 1);
8+ if(__builtin_expect((num_types != 1), 0))
800edac1 9+ goto ret_free_transitions;
dc2fca92
JB
10+ /* assert (num_types == 1); -- disabled, don't crash */
11 __tzname[0] = __tzstring (zone_names);
12 }
13 if (__tzname[1] == NULL)
This page took 0.312559 seconds and 4 git commands to generate.