From: "Mark Arrasmith" <arrasmith@math.twsu.edu>
To: <axp-list@redhat.com>
Subject: Re: kmail SEGVs using reply in Redhat 6.0.
Date: Tue, 5 Oct 1999 19:12:56 -0500 [thread overview]
Message-ID: <002001bf0f8f$8b34da60$2f934b0c@default> (raw)
> Has anyone else had SEGVs on the recent versions of kmail *only
> when they try to reply*??
This is a problem with the mimelib in kdesupport. It was documented by Olaf
Spinczyk and he posted a fix here on the list (see
http://ivs.cs.uni-magdeburg.de/~olaf/alpha.html ). KDE 1.1.2 (the latest
version) still has the problem. And if RedHat hasn't patched this for their
alpha.rpm's it wouldn't be that big of a surprise.
In mimelib/datetime.cpp
<snip>
void DwDateTime::_FromUnixTime(DwUint32 aTime)
{
DwUint32 t = aTime + mZone*60;
#if defined(USE_PORTABLE_GMTIME)
struct tm tt
my_gmtime_r(&t, &tt);
#elif defined(HAVE_GMTIME_R)
struct tm tt
gmtime_r(&t, &tt);
#else
struct tm tt = *gmtime((time_t*)&t);
#endif
</snip>
You need to change . . .
struct tm tt = *gmtime((time_t*)&t);
To . . .
time_t workaround = (time_t)t;
// struct tm tt = *gmtime((time_t*)&t);
struct tm tt = *gmtime(&workaround);
Anyone want to make patched kdesupport.src.rpm's ?
- mark arrasmith
next reply other threads:[~1999-10-06 0:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-06 0:12 Mark Arrasmith [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-10-06 10:53 kmail SEGVs using reply in Redhat 6.0 dr john halewood
1999-10-05 22:53 AXP list
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox