[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: kmail SEGVs using reply in Redhat 6.0.
- 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
> 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]