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:
ca1773d
)
fix dummied-out fsync
author
Rich Felker
<dalias@aerifal.cx>
Wed, 20 Jun 2012 02:24:15 +0000
(22:24 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 20 Jun 2012 02:24:15 +0000
(22:24 -0400)
if we eventually have build options, it might be nice to make an
option to dummy this out again, in case anybody needs a system-wide
disable for disk/ssd-thrashing, etc. that some daemons do when
logging...
src/unistd/fsync.c
patch
|
blob
|
history
diff --git
a/src/unistd/fsync.c
b/src/unistd/fsync.c
index 5991c66b3172b78790b35adb48980d5697133b0e..dc4727cc1d17cfccbc8793d6f140839462ca24dd 100644
(file)
--- a/
src/unistd/fsync.c
+++ b/
src/unistd/fsync.c
@@
-3,6
+3,5
@@
int fsync(int fd)
{
- //return syscall(SYS_fsync, fd);
- return 0;
+ return syscall(SYS_fsync, fd);
}