From: Rich Felker Date: Wed, 20 Jun 2012 02:24:15 +0000 (-0400) Subject: fix dummied-out fsync X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=ee1f69a3606987a973ccd0b378d26d0fb077364a;ds=sidebyside fix dummied-out fsync 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... --- diff --git a/src/unistd/fsync.c b/src/unistd/fsync.c index 5991c66b..dc4727cc 100644 --- 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); }