* mmap.cc (mmap64): Make granularity an automatic variable.
This commit is contained in:
parent
4390dc9df5
commit
989ea1c99e
@ -1,3 +1,7 @@
|
||||
2005-05-19 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* mmap.cc (mmap64): Make granularity an automatic variable.
|
||||
|
||||
2005-05-19 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* fhandler.h (fhandler_cygdrive::seekdir): Delete declaration.
|
||||
|
@ -506,7 +506,7 @@ mmap64 (void *addr, size_t len, int prot, int flags, int fd, _off64_t off)
|
||||
syscall_printf ("addr %x, len %u, prot %x, flags %x, fd %d, off %D",
|
||||
addr, len, prot, flags, fd, off);
|
||||
|
||||
static DWORD granularity = getshmlba ();
|
||||
DWORD granularity = getshmlba ();
|
||||
|
||||
/* Error conditions according to SUSv2 */
|
||||
if (off % getpagesize ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user