OSDN Git Service

* mmap.cc (mmap64): Allow MAP_FIXED with pagesize granularity (4K).
authorcorinna <corinna>
Thu, 3 Jul 2003 20:53:26 +0000 (20:53 +0000)
committercorinna <corinna>
Thu, 3 Jul 2003 20:53:26 +0000 (20:53 +0000)
commit17b7fea148e3e86282ca67fc1ac4a0dbf03f50d1
tree9ddc9e614383b15c6a9d99128c4d349767c7ce17
parentbaf7c0ab5bea90248101b122357fe5beb7e0bda7
* mmap.cc (mmap64): Allow MAP_FIXED with pagesize granularity (4K).
If a non-zero addr is given, align it to the next lower 64K boundary.
(fhandler_disk_file::mmap): If a non-zero address is given, try
mapping using the given address first.  If it fails and flags is not
MAP_FIXED, try again with NULL address.
winsup/cygwin/ChangeLog
winsup/cygwin/mmap.cc