Your message dated Wed, 21 Oct 2009 19:58:20 +0000
with message-id <[email protected]>
and subject line Bug#506379: fixed in wmcalclock 1.25-15
has caused the Debian Bug report #506379,
regarding wmcalclock -30 has a daylight savings bug for one hour each year
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
506379: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506379
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wmcalclock
Version: 1.25-14

The wmcalclock 30-hour time patch has a daylight savings time bug that causes the wrong date to be displayed for exactly one hour each year. Reproduce by running
  datefudge "2006-04-02 23:59:55" wmcalclock -30
and watching the date roll over from Apr. 2 to Apr. 1.

Here is a fix. (This algorithm has been tested against a 72-hour period surrounding both DST changes.)

--- wmcalclock-1.25.orig/debian/patches/02_30hr_patch.dpatch    2008-11-20 
19:49:36.000000000 -0500
+++ wmcalclock-1.25/debian/patches/02_30hr_patch.dpatch 2008-11-20 
19:55:37.000000000 -0500
@@ -30,7 +30,7 @@
 +        /* Careful.  Need to handle daylight savings time changes correctly. 
*/
 +        if (Time->tm_hour < 6){
 +            int old_hour = Time->tm_hour;
-+            time_t new_time = CurrentLocalTime - 24 * 60 * 60;
++            time_t new_time = CurrentLocalTime - 12 * 60 * 60;
 +            Time = localtime(&new_time);
 +            Time->tm_hour = old_hour + 24;
 +        }



--- End Message ---
--- Begin Message ---
Source: wmcalclock
Source-Version: 1.25-15

We believe that the bug you reported is fixed in the latest version of
wmcalclock, which is due to be installed in the Debian FTP archive:

wmcalclock_1.25-15.diff.gz
  to pool/main/w/wmcalclock/wmcalclock_1.25-15.diff.gz
wmcalclock_1.25-15.dsc
  to pool/main/w/wmcalclock/wmcalclock_1.25-15.dsc
wmcalclock_1.25-15_amd64.deb
  to pool/main/w/wmcalclock/wmcalclock_1.25-15_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kevin Coyner <[email protected]> (supplier of updated wmcalclock package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 21 Oct 2009 11:17:22 -0400
Source: wmcalclock
Binary: wmcalclock
Architecture: source amd64
Version: 1.25-15
Distribution: unstable
Urgency: low
Maintainer: Kevin Coyner <[email protected]>
Changed-By: Kevin Coyner <[email protected]>
Description: 
 wmcalclock - A dock.app which simply tells time and date
Closes: 506379 515486
Changes: 
 wmcalclock (1.25-15) unstable; urgency=low
 .
   * debian/control:
     - Changed Build-Depends from x-dev to x11proto-core-dev. Closes: #515486.
     - Bumped Standards-Version to 3.8.3. No changes.
     - Bumped debhelper version to 7.4~.
     - Removed homepage reference.
   * Changed debian/compat to version 7.
   * Small edit to 02_30hr_patch regarding daylight savings time. Closes: 
#506379.
   * Added new 04_makefile_modifications patch.
   * Removed debian/watch. Unable to find homepage or source code repository
     for upstream. Please file a bug if you find a legitimate homepage.
   * debian/rules:
     - Changed dh_clean -k to dh_prep.
     - Reworked file to use dpatch.make.
   * Added debian/README.source.
Checksums-Sha1: 
 9c75120e97e955bac67561e12316d2729272f0d3 1027 wmcalclock_1.25-15.dsc
 e268d310fa1132532e910b546125c5bf7a44967b 5822 wmcalclock_1.25-15.diff.gz
 3ee41bc2f54d2a2e9c25668baa37411f1674c06e 50358 wmcalclock_1.25-15_amd64.deb
Checksums-Sha256: 
 96f16ef06b5a48fd354b84de879db3263fb217b004c7c68fd046729480d6ea1a 1027 
wmcalclock_1.25-15.dsc
 46864b9245ec53702443b9a862611d425bd2ee0e63d484d0fb69688f4c5881c6 5822 
wmcalclock_1.25-15.diff.gz
 1ed8d8d7418f237f69970ed7dbb683268153a5d05ee7c20624a5963ac0e79adc 50358 
wmcalclock_1.25-15_amd64.deb
Files: 
 8b84f226699fa631b33ce206292ae781 1027 x11 optional wmcalclock_1.25-15.dsc
 61f04336ee969b240e9853c4346fc61e 5822 x11 optional wmcalclock_1.25-15.diff.gz
 2ca6151a9be6f74a490a1d73b80593e0 50358 x11 optional 
wmcalclock_1.25-15_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkrfYHwACgkQqPceVIzhGUFNHgCfangh4SpDmGl4jTwoVpKs/2aM
dGIAoLArctg2bqzI2NlA6d4pT1kD58Tp
=GPVq
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to