tag 430958 pending
thanks

Hello,

Bug #430958 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

    http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=62668eb

---
commit 62668eb422853854976560949f95a5afcc6a8677
Author: Guillem Jover <[email protected]>
Date:   Sat Feb 27 19:55:25 2010 +0100

    Do an fsync on files written to disk
    
    This guarantees the file contents will be there in case of abrupt
    program termination (due to crashes for example, or user intervention).
    This also guarantees the atomicity of rename(2) calls.
    
    Closes: #430958
    
    Based-on-patch-by: Jean-Baptiste Lallement 
<[email protected]>

diff --git a/debian/changelog b/debian/changelog
index f4a58f0..aa19047 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -154,6 +154,10 @@ dpkg (1.15.6) UNRELEASED; urgency=low
   * When FIEMAP is not available use posix_fadvise() to start preloading the
     .list files before loading them. With a cold cache it improves up to 40%.
     Thanks to Stefan Fritsch <[email protected]>. Closes: #557560
+  * Call fsync(2) after writting files on disk, to get the atomicity
+    guarantees when doing rename(2). Based on a patch by
+    Jean-Baptiste Lallement <[email protected]>.
+    Closes: #430958
 
   [ Modestas Vainius ]
   * Implement symbol patterns (Closes: #563752). From now on, it is possible to




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to