projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d09224
)
git-msync
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Sun, 19 Sep 2021 18:46:59 +0000
(19:46 +0100)
committer
Aurelien Jarno
<aurel32@debian.org>
Sun, 19 Sep 2021 18:46:59 +0000
(19:46 +0100)
commit
60dfb30976761c9b20a22f18356e0c3e581f5394
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Tue Aug 31 19:41:02 2021 +0200
hurd msync: Drop bogus test
MS_SYNC is actually 0, so we cannot test that both MS_SYNC and MS_ASYNC
are set.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-msync.diff
sysdeps/mach/hurd/msync.c
patch
|
blob
|
history
diff --git
a/sysdeps/mach/hurd/msync.c
b/sysdeps/mach/hurd/msync.c
index 1820190dbec7a82d6176997dc5c1ad1a039f5b91..6af1a5d25d1dfe3d380aabeae15e082f168a7300 100644
(file)
--- a/
sysdeps/mach/hurd/msync.c
+++ b/
sysdeps/mach/hurd/msync.c
@@
-47,9
+47,6
@@
msync (void *addr, size_t length, int flags)
kern_return_t err;
int cancel_oldtype;
- if (flags & (MS_SYNC | MS_ASYNC) == (MS_SYNC | MS_ASYNC))
- return __hurd_fail (EINVAL);
-
while (cur < target)
{
vm_address_t begin = cur;