Hi Matt,

According to my reading of the doc for mmap, this should work.  It does
work on other platforms.  It also seg faults instead of returning ((void*)-1).
Now, what?  :-(


If you don't want to require that users use a kernel that doesn't
misbehave like this, shouldn't you add an autoconf test that checks
for this behavior and falls back to some other method?

Yes.  Very logical.  I was feeling tired, exasperated and lazy all at the
same time.  ;)  It is not an easy test, of course, so it is easier to
be lazy.  I am just so surprised and disappointed to find it failing.
Short term:  simply disable mmap for page sized files.  Dumb and all,
but it is also what I do for fixincludes.  *sigh*.  Cheers - Bruce


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to