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

Bug#548349: marked as done (worklog: incorrect time update, every time you switch projects an extra second is added)



Your message dated Tue, 06 Feb 2018 22:52:24 +0000
with message-id <E1ejC6C-000A0N-6Y@fasolo.debian.org>
and subject line Bug#548349: fixed in worklog 1.9-1
has caused the Debian Bug report #548349,
regarding worklog: incorrect time update, every time you switch projects an extra second is added
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 owner@bugs.debian.org
immediately.)


-- 
548349: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548349
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: worklog
Version: 1.8-4
Severity: normal
Tags: patch

(I see that the package hasn't been updated in years, so maybe no one cares about this
project except me.  I came across some bugs today that I hadn't noticed before, and 
since I use this app for billing clients, the rounding and seconds lost do add up over 
the course of a month)

fix incorrect time update.  Bug can be seen by running for two seconds, then pressing
enter.  Note that 3 seconds displays on the screen.  2 seconds is displayed in the
time.log.X file, but on program exit, 3 seconds will be written to the time.log file.  
If you then restart and exit worklog, the time will be fixed.

Modified: vendor/worklog/mine/worklog.c
===================================================================
--- vendor/worklog/mine/worklog.c       2009-09-25 16:32:57 UTC (rev 9552)
+++ vendor/worklog/mine/worklog.c       2009-09-25 18:10:14 UTC (rev 9553)
@@ -646,6 +646,8 @@
         timer_value.it_interval.tv_usec=0 ;
         setitimer(ITIMER_REAL,&timer_value,0) ;
         update_skip_refresh=0 ;
+        // compensate for extra time about to be added incorrectly
+        project->time-=1 ;
         alarm_handler(0) ;
         mvaddstr(y_update,1,"  ") ;
     }



-- System Information:
Debian Release: 5.0.3
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages worklog depends on:
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libncurses5               5.7+20081213-1 shared libraries for terminal hand

worklog recommends no packages.

worklog suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: worklog
Source-Version: 1.9-1

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

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 548349@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Bilbrough <atsb@tutanota.de> (supplier of updated worklog 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 02 Feb 2018 20:07:16 +0100
Source: worklog
Binary: worklog
Architecture: source
Version: 1.9-1
Distribution: unstable
Urgency: medium
Maintainer: Adam Bilbrough <atsb@tutanota.de>
Changed-By: Adam Bilbrough <atsb@tutanota.de>
Description:
 worklog    - Keep Track of Time worked on Projects
Closes: 548347 548349 571718 628157 630570
Changes:
 worklog (1.9-1) unstable; urgency=medium
 .
   * New maintainer. (Closes: #628157)
   * New upstream release.
   * Merged patch for time update. (Closes: #548349)
   * Merged patch for negative times. (Closes: #571718)
   * Merged patch for using too much CPU. (Closes: #630570)
   * Merged patch for rounding text. (Closes: #548347)
   * Merged all debian quilt patches into codebase.
Checksums-Sha1:
 6df3f317e73b7d763338cfc6d260dff68c318cc0 1694 worklog_1.9-1.dsc
 d5a97beb9e6a3c1e42dfd5bb41ae9571a053e552 26604 worklog_1.9.orig.tar.xz
 bdc5f3b2207b031ea0a44248edd936933f50dfa5 3096 worklog_1.9-1.debian.tar.xz
 43b77654b0a852852f247e1345135a95aa3f2303 5341 worklog_1.9-1_source.buildinfo
Checksums-Sha256:
 dd40d66d507f8a39b08cf12488e023e9c4d3c9ff99830b4408f2e2b8bf5645e1 1694 worklog_1.9-1.dsc
 0bd86f0dcb447cedc638a1a80f61bd805bf0695ed621efd7508ecef6c2671a93 26604 worklog_1.9.orig.tar.xz
 884874b29b74dc260aa69dfde57f31b1c55eb1d10ece9b913f87bcf2bb416af5 3096 worklog_1.9-1.debian.tar.xz
 717e05b5c94fc9490954f06c5013d50411989a78344984d277fd9396ba5a17c0 5341 worklog_1.9-1_source.buildinfo
Files:
 befe5a5751b5905257c8d97146b7db28 1694 misc optional worklog_1.9-1.dsc
 0fddb1deb56c342f028257ddbb768fee 26604 misc optional worklog_1.9.orig.tar.xz
 a9302b41998f664240078dacff21dd26 3096 misc optional worklog_1.9-1.debian.tar.xz
 19d99af10ee441e7f6809388c10d7f9b 5341 misc optional worklog_1.9-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAlp6K60ACgkQweDZLphv
fH7MJg/9EaEU2oSWQh0NnI7gRI00Cmh+fB1aY/KlNsng6fF0ByICqPt0C/a7l6+S
yG1+bES+RTmtLIO3N5WL0LZjqi5lS5+Banv1OyyB87Y8NxgqobzvASC3evIE/LAR
24pldMakPx4rTrwMalLNhqUUh865/SFfSDERoK+wrRQstxqrZ/IY8EHV95nIgOcc
z8OVjwoUCwtdh54ilOKR3GRl1NcOog4+bALBZ4kDHgxX96e22igaWcZvhttJfNs6
k9HyA5NlNwleXsKgQ7xjzCY6PMIlvHn63Wp9StJ0aXoRHlHf1fvzqXPSrQMC/M05
a3/v9p1DsuEZTsrgEHv0U86TCvq2IFDKC+0G/aY1sfvJIV7mYa6xIGe7YPEz5znt
5PY9pqa76ExBm9SXN1Xwa5qUGMsUh4Zl5W+ioqHwxT2jmxTYMQQBFan/e4lgOGsR
NmhvuLm+h0JNzPwspgtTp1+OrnaIyMOuBK1zdnxw12WurtfOCNQnPjCpI6AmYdYj
xO7WfZrzG/ga9QXG5C7DyWAOe/diJmWkMdYZhRfC+RdZPXWVJE8myIsQR7RvxWh8
TQdEEhKN9cPXZSnnW0xT/mGNJnDE6ZEVP8WXjAQ87mtDE0ZSv8m2nT99/5u3Door
3MhgRvHoFSLZhPfP7srPBnw6QiiC1vrwzE7v5/m3ZeVJzXml4Ls=
=AD0S
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: