opnsense-ports/editors/led/files/patch-src__file.c
Franco Fichtner 05ec040734 */*: sync with upstream
Taken from: FreeBSD
2015-05-23 07:42:34 +02:00

11 lines
189 B
C

--- src/file.c 2002/07/15 11:40:21 1.1
+++ src/file.c 2002/07/15 11:42:31
@@ -192,6 +192,8 @@
putc('\r', fp);
putc('\n', fp);
}
+ fflush(fp);
+ fsync(fileno(fp));
return 0;
}