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

Bug#552110: tzdata: 2009o breaks DST in Bangladesh



found 552110 2009o-2
thanks

Martin Pitt [2009-10-23 14:33 +0200]:
> In https://launchpad.net/bugs/456322 it was reported that 2009o breaks
> DST in Bangladesh:

Thanks for fixing this so quickly. However, I'm terribly sorry to
report that this only works on 64 bit machines (where I originally
tested on). On 32 bit machines there seems to be a wraparound in 2038
(4-byte timestamp calculation, I assume), so the arbitrary DST cutoff
date needs to happen in 2038, not later.

debdiff to most recent upload attached.

Sorry, and thanks!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -u tzdata-2009o/debian/changelog tzdata-2009o/debian/changelog
--- tzdata-2009o/debian/changelog
+++ tzdata-2009o/debian/changelog
@@ -1,3 +1,10 @@
+tzdata (2009o-1ubuntu2) karmic; urgency=low
+
+  * bdst-workaround.diff: Move end date to 2038, so that it works on 32 bit
+    systems, too. (LP: #456322)
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 23 Oct 2009 17:52:37 +0200
+
 tzdata (2009o-1ubuntu1) karmic; urgency=low
 
   * Add bdst-workaround.diff: Work around glibc not being able to cope with
diff -u tzdata-2009o/debian/patches/bdst-workaround.diff tzdata-2009o/debian/patches/bdst-workaround.diff
--- tzdata-2009o/debian/patches/bdst-workaround.diff
+++ tzdata-2009o/debian/patches/bdst-workaround.diff
@@ -9,7 +9,7 @@
  			6:00	-	DACT	1971 Mar 26 # Dacca Time
  			6:00	-	BDT	2009 Jun 19 23:00 # Bangladesh Time
 -			6:00	1:00	BDST
-+			6:00	1:00	BDST	2100 Jan 1 # arbitrary end date; unspecified end date does not work with glibc
++			6:00	1:00	BDST	2038 Jan 1 # arbitrary end date; unspecified end date does not work with glibc
 +			6:00	-	BDT
  
  # Bhutan

Attachment: signature.asc
Description: Digital signature


Reply to: