mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Fix build of mmap64.
This commit is contained in:
committed by
Ulrich Drepper
parent
6d28d423b2
commit
960af486d2
@@ -1,3 +1,8 @@
|
||||
2010-03-30 David S. Miller <davem@davemloft.net>
|
||||
|
||||
* sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Fix
|
||||
MMAP2_PAGE_SHIFT test.
|
||||
|
||||
2010-03-29 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_WAITFORONE.
|
||||
|
||||
@@ -49,7 +49,7 @@ void *
|
||||
__mmap64 (void *addr, size_t len, int prot, int flags, int fd, off64_t offset)
|
||||
{
|
||||
#ifdef __NR_mmap2
|
||||
# ifdef MMAP2_PAGE_SHIFT == -1
|
||||
# if MMAP2_PAGE_SHIFT == -1
|
||||
if (page_shift == 0)
|
||||
{
|
||||
int page_size = getpagesize ();
|
||||
|
||||
Reference in New Issue
Block a user