tags 583922 patch
thanks

--- thunar-vfs-io-local-xfer.c.0        2010-05-21 13:10:52.000000000 -0400
+++ thunar-vfs-io-local-xfer.c  2010-05-31 13:14:00.555777901 -0400
@@ -330,6 +330,11 @@
   futimes (target_fd, times);
 #endif

+  /* check that the data is successfully written */
+  if (G_UNLIKELY (fsync (target_fd) < 0))
+    tvilx_set_error_with_path (error, _("Failed to sync data to \"%s\""),
+     target_absolute_path);
+
   /* close the file descriptors */
   close (target_fd);
 end1:




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to