summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-06-15 11:00:08 -0700
committerUlrich Drepper <drepper@redhat.com>2009-06-15 11:00:08 -0700
commit6355c99740c91ed5a7fa14e378f74950e09f5f48 (patch)
tree2333dff3bbdf6d6445bbd716a07792df8867204c /time
parent29143408ae6d474a115768e809691635f507b1fd (diff)
downloadglibc-6355c99740c91ed5a7fa14e378f74950e09f5f48.tar.gz
glibc-6355c99740c91ed5a7fa14e378f74950e09f5f48.tar.xz
glibc-6355c99740c91ed5a7fa14e378f74950e09f5f48.zip
Fix computation of tzspec_len.
Without this it should never have worked that we can use the
embedded envvar in the timezone data files for dates after the last
matching rule.
Diffstat (limited to 'time')
-rw-r--r--time/tzfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/tzfile.c b/time/tzfile.c
index 4e20b25a12..d8bd55a130 100644
--- a/time/tzfile.c
+++ b/time/tzfile.c
@@ -248,7 +248,7 @@ __tzfile_read (const char *file, size_t extra, char **extrap)
 				+ num_transitions * (8 + 1)
 				+ num_types * 6
 				+ chars
-				+ num_leaps * 8
+				+ num_leaps * 12
 				+ num_isstd
 				+ num_isgmt) - 1 : 0);