projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a3bbce
)
reenable sync_file_range; should no longer break on mips
author
Rich Felker
<dalias@aerifal.cx>
Sun, 9 Sep 2012 18:58:55 +0000
(14:58 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 9 Sep 2012 18:58:55 +0000
(14:58 -0400)
src/linux/sync_file_range.c
patch
|
blob
|
history
diff --git
a/src/linux/sync_file_range.c
b/src/linux/sync_file_range.c
index a47dc386bd344616f7d994c05f9b5a9704da09ab..6859abc05dabde2825af4a392b2b0e0d255f2a4e 100644
(file)
--- a/
src/linux/sync_file_range.c
+++ b/
src/linux/sync_file_range.c
@@
-5,10
+5,10
@@
int sync_file_range(int fd, off_t pos, off_t len, unsigned flags)
{
-#if
0 &&
defined(SYS_sync_file_range2)
+#if defined(SYS_sync_file_range2)
return syscall(SYS_sync_file_range2, fd, flags,
__SYSCALL_LL_E(pos), __SYSCALL_LL_E(len));
-#elif
0 &&
defined(SYS_sync_file_range)
+#elif defined(SYS_sync_file_range)
return syscall(SYS_sync_file_range, fd,
__SYSCALL_LL_O(pos), __SYSCALL_LL_E(len), flags);
#else