Patch for mmap problem in KConfigBackEnd, Bug #72586
Oswald Buddenhagen
ossi at kde.org
Fri Jan 16 00:07:33 GMT 2004
On Thu, Jan 15, 2004 at 11:15:15PM +0100, Waldo Bastian wrote:
> Ok, after reading up on "how to recover from SIGBUS on mmap" I now
> have a better patch :-)
extern "C" for the signal handler, please (btw, i think we still need to
check the entire kde codebase for that).
i don't like the mmap_can_jump; using a SA_ONESHOT handler seems cleaner
to me (say hi to sigaction).
there is no point in making mmap_map global; a volatile local variable
is sufficient.
greetings
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
More information about the kde-core-devel
mailing list