[taskjuggler-devel] Re: Divide by zero (SIGFPE) in ktjview

From: Archeron (archeron_at_wavefire.com)
Date: Mon May 30 2005 - 20:23:21 CEST


From: Archeron <archeron@wavefire.com>
Message-Id: <20050530182321.AFE4963F4@einstein.suse.de>
Date: Mon, 30 May 2005 20:23:21 +0200 (CEST)
Subject: [taskjuggler-devel] Re: Divide by zero (SIGFPE) in ktjview


Hmm... I don't see a ktjview2. I am attempting to build this via the FreeBSD ports tree. The distro of TJ is taskjuggler-2.0.1. The tarball contains a ktjview directory, but not ktjview2 dir.
Help->About displays KTjview 0.20 with KDE 3.4.0.
The problem seems to be with this uninitialized variable in the localtime cache code in taskjuggler itself though. The file in question is: http://archeron.wavefire.com/~wade/Utility.cpp at the lines:
const struct tm*
clocaltime(const time_t* t)
{
    long index = *t % LTHASHTABSIZE;

Cheers.
 -Wade

-- 
To unsubscribe, email: taskjuggler-devel-unsubscribe@suse.com
For additional commands, email: taskjuggler-devel-help@suse.com


This archive was generated by hypermail 2.1.7 : Tue May 31 2005 - 09:07:53 CEST