[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r3487 - in glibc-package/branches/eglibc-2.10/debian: . patches patches/any



Author: aurel32
Date: 2009-05-10 13:14:09 +0000 (Sun, 10 May 2009)
New Revision: 3487

Removed:
   glibc-package/branches/eglibc-2.10/debian/patches/any/submitted-date-and-unknown-tz.diff
Modified:
   glibc-package/branches/eglibc-2.10/debian/changelog
   glibc-package/branches/eglibc-2.10/debian/patches/series
Log:
    - Remove debian/patches/any/submitted-date-and-unknown-tz.diff (merged).



Modified: glibc-package/branches/eglibc-2.10/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/changelog	2009-05-10 13:04:56 UTC (rev 3486)
+++ glibc-package/branches/eglibc-2.10/debian/changelog	2009-05-10 13:14:09 UTC (rev 3487)
@@ -43,6 +43,7 @@
     - Update debian/patches/any/local-libgcc-compat-main.diff.
     - Update debian/patches/any/local-libgcc-compat-ports.diff.
     - Update debian/patches/any/local-no-pagesize.diff.
+    - Remove debian/patches/any/submitted-date-and-unknown-tz.diff (merged).
     - Remove debian/patches/localedata/mt_MT_euro.diff (merged).
     - Remove debian/patches/localedata/submitted-bz9731-el_CY_euro.diff
       (merged).

Deleted: glibc-package/branches/eglibc-2.10/debian/patches/any/submitted-date-and-unknown-tz.diff
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/patches/any/submitted-date-and-unknown-tz.diff	2009-05-10 13:04:56 UTC (rev 3486)
+++ glibc-package/branches/eglibc-2.10/debian/patches/any/submitted-date-and-unknown-tz.diff	2009-05-10 13:14:09 UTC (rev 3487)
@@ -1,51 +0,0 @@
-Patch from Andrew Suffield:
-> 'TZ=MOO date' gives confusing output; it uses UTC but claims to be
-> whatever timezone you told it. If you were expecting the timezone to
-> be valid, this output is not correct.
-> 
-> This is caused by the way that glibc parses $TZ; if the string is
-> unrecognised, it interprets it as a name followed by an offset from
-> UTC. (The relevant code is tzset_internal() in time/tzset.c)
-> 
-> The code already checks to see whether there is a valid offset in the
-> string or not. Currently it copies the timezone name first; since the
-> intent was probably not to change the name if no offset was specified,
-> I propose this change:
-> 
-> [... see patch below ...]
-> 
-> The old behaviour is still available by using TZ="MOO+0", if it is
-> really desirable to change the name of the timezone in this manner.
-
----
- time/tzset.c |    6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
---- a/time/tzset.c
-+++ b/time/tzset.c
-@@ -169,7 +169,7 @@
- 
-   /* Clear out old state and reset to unnamed UTC.  */
-   memset (tz_rules, 0, sizeof tz_rules);
--  tz_rules[0].name = tz_rules[1].name = "";
-+  tz_rules[0].name = tz_rules[1].name = "UTC";
- 
-   /* Get the standard timezone name.  */
-   tzbuf = strdupa (tz);
-@@ -178,14 +178,14 @@
-       (l = strlen (tzbuf)) < 3)
-     goto out;
- 
--  tz_rules[0].name = __tzstring (tzbuf);
--
-   tz += l;
- 
-   /* Figure out the standard offset from UTC.  */
-   if (*tz == '\0' || (*tz != '+' && *tz != '-' && !isdigit (*tz)))
-     goto out;
- 
-+  tz_rules[0].name = __tzstring (tzbuf);
-+
-   if (*tz == '-' || *tz == '+')
-     tz_rules[0].offset = *tz++ == '-' ? 1L : -1L;
-   else

Modified: glibc-package/branches/eglibc-2.10/debian/patches/series
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/patches/series	2009-05-10 13:04:56 UTC (rev 3486)
+++ glibc-package/branches/eglibc-2.10/debian/patches/series	2009-05-10 13:14:09 UTC (rev 3487)
@@ -158,7 +158,6 @@
 any/local-dynamic-resolvconf.diff
 any/submitted-nis-netgrp.diff
 any/submitted-clock-settime.diff
-any/submitted-date-and-unknown-tz.diff
 any/submitted-libgcc_s.so.diff
 any/submitted-longdouble.diff
 any/submitted-sched_h.diff


Reply to: