projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee190f6
)
Fix one typo
author
Ulrich Drepper
<drepper@gmail.com>
Wed, 21 Dec 2011 23:57:18 +0000
(18:57 -0500)
committer
Ulrich Drepper
<drepper@gmail.com>
Wed, 21 Dec 2011 23:57:18 +0000
(18:57 -0500)
time/tzfile.c
patch
|
blob
|
history
diff --git
a/time/tzfile.c
b/time/tzfile.c
index
402389c
..
a8c1c0e
100644
(file)
--- a/
time/tzfile.c
+++ b/
time/tzfile.c
@@
-278,7
+278,7
@@
__tzfile_read (const char *file, size_t extra, char **extrap)
if (__builtin_expect (tzspec_len < num_isstd, 0))
goto lose;
tzspec_len -= num_isstd;
- if (__builtin_expect (tzspec == 0 || tzspec_len - 1 < num_isgmt, 0))
+ if (__builtin_expect (tzspec
_len
== 0 || tzspec_len - 1 < num_isgmt, 0))
goto lose;
tzspec_len -= num_isgmt + 1;
if (__builtin_expect (SIZE_MAX - total_size < tzspec_len, 0))