Package: worklog
Version: 2.1-1
Followup-For: Bug #983290

Sorry, I missed your reply.

I can recreate this trivially by using an empty directory and having a valid 
projects file with 
more than one project letter in it and running worklog and then immediately 
exiting.  It will 
display the first project with 0.0 seconds and that is it.  I would expect it 
to print all of 
the projects with 0.0 seconds rather than just one.

The bug is an incorrectly applied patch that causes "seconds" to be accessed 
prior to being
initialized.  I don't have a .deb built, so I'm not sure how to make debdiff 
work.

I see you are using github now, so I can do a pull request there.  The 
previously given diff just
moves the assignment of seconds to the line before it is read.

-- System Information:
Debian Release: 11.7
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable-proposed-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-13-amd64 (SMP w/12 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages worklog depends on:
ii  libc6        2.31-13+deb11u6
ii  libncurses6  6.2+20201114-2+deb11u2
ii  libtinfo6    6.2+20201114-2+deb11u2

worklog recommends no packages.

worklog suggests no packages.

-- no debconf information

Reply via email to