From: Christophe F. <te...@gn...> - 2006-01-13 08:00:24
|
Le vendredi 13 janvier 2006 =C3=A0 10:22 +0900, Jorg Schuler a =C3=A9crit= : > It seems as if this part of the code needs an overhaul -- Christophe? Yeah, this code path is untested, I guess it doesn't work as expected :-/ Does changing the #ifdef HAVE_MREMAP to #ifdef HAVE_MREMAP_HACK help ? > Of course, you could also be bold and see if removing the >=20 > return MAP_FAILED; >=20 > already produces working code -- let us know! This will probably cause crashes in some cases (the code using this buffer keeps pointers to the mmap'ed buffer, so if its address change, we'll end up dereferencing "bad" memory :( Christophe |