On 05/02/05 23:57, Michael Shalayeff wrote:
On Mon, 2 May 2005, chefren wrote:

On OpenBSD 3.6 i386, a mmap() call with offset near/above 4GB on a
regular file succeeds but, at least for writes, silently wraps around at
the 4GB border.

..

This looks like a bug on 32 bit archs, The little program below demonstrates the error on i386 and macppc, but does run fine on sparc64.

and here is a fix too:

Great!!!

+++chefren



Reply via email to