[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:25:33 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 89632608e133dc0c7593d1d95593a677b4909967
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Feb 21 23:14:07 2003 +0000

            Reviewed by Maciej.
    
            - fixed 3142355 -- nil-deref in CFTimeZoneCopyAbbreviation
    
            The real problem wasn't with the current time zone, but with the UTC time zone.
            The poor sod had a broken /usr/share/zoneinfo directory, with a 0-byte-long UTC file.
    
            * kjs/date_object.cpp: (UTCTimeZone): Use CFTimeZoneCreateWithTimeIntervalFromGMT(NULL, 0.0)
            to get the universal time zone instead of getting it by name.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3685 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index b80f693..0b384a6 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,15 @@
+2003-02-21  Darin Adler  <darin at apple.com>
+
+        Reviewed by Maciej.
+
+        - fixed 3142355 -- nil-deref in CFTimeZoneCopyAbbreviation
+
+        The real problem wasn't with the current time zone, but with the UTC time zone.
+        The poor sod had a broken /usr/share/zoneinfo directory, with a 0-byte-long UTC file.
+
+        * kjs/date_object.cpp: (UTCTimeZone): Use CFTimeZoneCreateWithTimeIntervalFromGMT(NULL, 0.0)
+        to get the universal time zone instead of getting it by name.
+
 === Safari-62 ===
 
 2003-02-18  Darin Adler  <darin at apple.com>
diff --git a/JavaScriptCore/ChangeLog-2003-10-25 b/JavaScriptCore/ChangeLog-2003-10-25
index b80f693..0b384a6 100644
--- a/JavaScriptCore/ChangeLog-2003-10-25
+++ b/JavaScriptCore/ChangeLog-2003-10-25
@@ -1,3 +1,15 @@
+2003-02-21  Darin Adler  <darin at apple.com>
+
+        Reviewed by Maciej.
+
+        - fixed 3142355 -- nil-deref in CFTimeZoneCopyAbbreviation
+
+        The real problem wasn't with the current time zone, but with the UTC time zone.
+        The poor sod had a broken /usr/share/zoneinfo directory, with a 0-byte-long UTC file.
+
+        * kjs/date_object.cpp: (UTCTimeZone): Use CFTimeZoneCreateWithTimeIntervalFromGMT(NULL, 0.0)
+        to get the universal time zone instead of getting it by name.
+
 === Safari-62 ===
 
 2003-02-18  Darin Adler  <darin at apple.com>
diff --git a/JavaScriptCore/kjs/date_object.cpp b/JavaScriptCore/kjs/date_object.cpp
index 280b2b8..1f5cff2 100644
--- a/JavaScriptCore/kjs/date_object.cpp
+++ b/JavaScriptCore/kjs/date_object.cpp
@@ -111,7 +111,7 @@ static struct tm *tmUsingCF(time_t clock, CFTimeZoneRef timeZone)
 
 static CFTimeZoneRef UTCTimeZone()
 {
-    static CFTimeZoneRef zone = CFTimeZoneCreateWithName(NULL, CFSTR("UTC"), TRUE);
+    static CFTimeZoneRef zone = CFTimeZoneCreateWithTimeIntervalFromGMT(NULL, 0.0);
     return zone;
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list