summaryrefslogtreecommitdiffstats
path: root/editors/led/files/patch-src__file.c
blob: 1bae33d4123348ae7715478bd428823be7e15fed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

$FreeBSD$

--- 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;
 }
OpenPOWER on IntegriCloud