Mail Archives: cygwin/1998/06/26/20:33:53
Hi all,
I believe I have found a bug in the mmap routine. It manifests itself
when an offset is given that is not zero.
In WindowsNT, when a MapViewOfFile of length `len' is performed at
offset `off', the CreateFileMapping must have at least length
`len'+`off', otherwise the MapViewOfFile function returns an error
(1132, I think).
I have had a look in mmap.cc. The CreateFileMapping function is called
here with length `len'. I believe this should be changed to
`len'+`off'.
Regards,
Ronald Pijnacker
rhp AT iname DOT com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -