aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/emelfm2/files/patch-src_filesystem_e2_fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/emelfm2/files/patch-src_filesystem_e2_fs.c')
-rw-r--r--x11-fm/emelfm2/files/patch-src_filesystem_e2_fs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-fm/emelfm2/files/patch-src_filesystem_e2_fs.c b/x11-fm/emelfm2/files/patch-src_filesystem_e2_fs.c
new file mode 100644
index 000000000000..c6986fa06c72
--- /dev/null
+++ b/x11-fm/emelfm2/files/patch-src_filesystem_e2_fs.c
@@ -0,0 +1,11 @@
+--- src/filesystem/e2_fs.c.orig 2009-07-24 08:00:32.000000000 +0200
++++ src/filesystem/e2_fs.c 2009-07-24 08:01:05.000000000 +0200
+@@ -2570,7 +2570,7 @@
+ gint e2_fs_writeflush (gint file_desc)
+ {
+ gint res;
+- res = fdatasync (file_desc);
++ res = fsync (file_desc);
+ if (res == -1 && errno == EINVAL)
+ res = 0;
+ return res;