Преглед изворни кода

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...
Rich Felker пре 12 година
родитељ
комит
ee1f69a360
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      src/unistd/fsync.c

+ 1 - 2
src/unistd/fsync.c

@@ -3,6 +3,5 @@
 
 int fsync(int fd)
 {
-	//return syscall(SYS_fsync, fd);
-	return 0;
+	return syscall(SYS_fsync, fd);
 }