[Pkg-shadow-commits] r2582 - debian/trunk/debian/patches

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sun Mar 22 12:08:44 UTC 2009


Author: nekral-guest
Date: 2009-03-22 12:08:43 +0000 (Sun, 22 Mar 2009)
New Revision: 2582

Modified:
   debian/trunk/debian/patches/401_cppw_src.dpatch
Log:
Fix the call to fsync.


Modified: debian/trunk/debian/patches/401_cppw_src.dpatch
===================================================================
--- debian/trunk/debian/patches/401_cppw_src.dpatch	2009-03-21 20:45:35 UTC (rev 2581)
+++ debian/trunk/debian/patches/401_cppw_src.dpatch	2009-03-22 12:08:43 UTC (rev 2582)
@@ -86,7 +86,7 @@
 +    unlink(backup);
 +    return -1;
 +  }
-+  if (   (fsync (bkfp) != 0)
++  if (   (fsync (fileno (bkfp)) != 0)
 +      || (fclose(bkfp) != 0)) {
 +    unlink(backup);
 +    return -1;




More information about the Pkg-shadow-commits mailing list