[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Help debugging SIGBUS for 3.3.2 on Solaris
From:       Michael Pyne <pynm0001 () unf ! edu>
Date:       2004-12-26 3:58:15
Message-ID: 200412252258.15854.pynm0001 () unf ! edu
[Download RAW message or body]

On Friday 24 December 2004 07:29 pm, Albert Chin wrote:
> > http://gcc.gnu.org/PR19144. However, I think it's currently debatable
> > if it indeed is a gcc bug. Something odd is going on though.
>
> Turns out this is a kde bug. kurlcompletion.cpp assumes struct dirent
> contains enough space for the filename. On Solaris and IRIX, that's
> not the case.

Good catch, although I find it highly suspect on the part of the system 
library authors for those platforms that they would defined struct dirent 
such that it still can't be used with readdir_r().  Especially since (at 
least on my man page), struct dirent is what is supposed to be passed as the 
second parameter to readdir_r, which then initializes it.  But whatever, even 
if it isn't a KDE bug, we can work around it.

Please continue this at bug 95830 (http://bugs.kde.org/show_bug.cgi?id=95830), 
as I'm working on a potential patch.

Regards,
 - Michael Pyne
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic