]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 20 Mar 2004 00:38:50 +0000 (00:38 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 20 Mar 2004 00:38:50 +0000 (00:38 +0000)
2004-03-19  Ulrich Drepper  <drepper@redhat.com>

* time/tzfile.c (__tzfile_default): Correct setting of rule_stdoff
and rule_dstoff after reading the posixrules file.

ChangeLog
Versions.def
time/tzfile.c

index a33919939a3303f2858c6c4a339124882f2481da..fdbb56e3ea496388f0111337648dc1ac87e42a6f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-19  Ulrich Drepper  <drepper@redhat.com>
+
+       * time/tzfile.c (__tzfile_default): Correct setting of rule_stdoff
+       and rule_dstoff after reading the posixrules file.
+
 2004-03-18  Ulrich Drepper  <drepper@redhat.com>
 
        * malloc/malloc.c (__posix_memalign): Correct alignment check.
index 67f0e5ed3d7540906e8e0facf831a324661355b3..33409f1143db77d134a6a607c75c37e5463ad07f 100644 (file)
@@ -76,6 +76,7 @@ libpthread {
   GLIBC_2.2.6
   GLIBC_2.3.2
   GLIBC_2.3.3
+  GLIBC_2.3.4
   GLIBC_PRIVATE
 }
 libresolv {
index e2d9f50cd99eaea5a05710a12cc48f60c14d42ae..2c178253e4ae70da533e1c593de8d6f256d1d430 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1993, 1995-2001, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1993,1995-2001,2003,2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -424,6 +424,12 @@ __tzfile_default (const char *std, const char *dst,
       isdst = trans_type->isdst;
     }
 
+  /* Now that we adjusted the transitions to the requested offsets,
+     reset the rule_stdoff and rule_dstoff values appropriately.  They
+     are used elsewhere.  */
+  rule_stdoff = stdoff;
+  rule_dstoff = dstoff;
+
   /* Reset types 0 and 1 to describe the user's settings.  */
   types[0].idx = 0;
   types[0].offset = stdoff;
This page took 0.061101 seconds and 5 git commands to generate.