From: Andreas Jaeger Date: Sat, 5 Feb 2000 07:46:32 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc_2-1-91~1053 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9359483248843b91fecd86cf72ddeabbe941d566;p=platform%2Fupstream%2Fglibc.git Update. 2000-02-05 Andreas Jaeger * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not work - set to 4 in accordance with changes made in the Linux/MIPS kernel. Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't actually work. --- diff --git a/ChangeLog b/ChangeLog index def44f1..61d4a0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2000-02-05 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not + work - set to 4 in accordance with changes made in the Linux/MIPS + kernel. Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't + actually work. + 2000-02-04 Andreas Jaeger * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for diff --git a/sysdeps/unix/sysv/linux/mips/bits/mman.h b/sysdeps/unix/sysv/linux/mips/bits/mman.h index 0efbab2..5b8c752 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/mman.h +++ b/sysdeps/unix/sysv/linux/mips/bits/mman.h @@ -1,4 +1,4 @@ -/* Definitions for POSIX memory map interface. Linux/PowerPC version. +/* Definitions for POSIX memory map interface. Linux/MIPS version. Copyright (C) 1997, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -61,8 +61,8 @@ /* Flags to `msync'. */ #define MS_ASYNC 1 /* Sync memory asynchronously. */ -#define MS_SYNC 0 /* Synchronous memory sync. */ #define MS_INVALIDATE 2 /* Invalidate the caches. */ +#define MS_SYNC 4 /* Synchronous memory sync. */ /* Flags for `mlockall'. */ #define MCL_CURRENT 1 /* Lock all currently mapped pages. */