[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Patch for mmap problem in KConfigBackEnd, Bug #72586
From: Waldo Bastian <bastian () kde ! org>
Date: 2004-01-15 21:21:59
Message-ID: 200401152222.00199.bastian () kde ! org
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu January 15 2004 14:20, Dr. Juergen Pfennig wrote:
> About the current implementation in kconfigbackend.cpp: mmap() is used
> always to read conf files. Interrestingly the author was aware of a SIGBUS
> problem and tried to recover from the SIGBUS. BUT THIS DOES NOT WORK. Maybe
> it never worked? Or maybe it's a compiler optimization problem.
Does it help if you change:
const char *s, *eof;
to
const char *s;
volatile const char *eof;
?
Cheers,
Waldo
- --
bastian@kde.org -=|[ KDE: K Desktop for the Enterprise ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFABwR3N4pvrENfboIRAgZqAJ9MSVPB6mgq/t3X0ky2O7EJoNZ7WgCeLL1L
GGBRwzWGeWZkEppv8UfQhyE=
=rlbq
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic