Here's the diff of the NMU I just uploaded:

diff -u bbdb-2.35.cvs20060204/debian/changelog 
bbdb-2.35.cvs20060204/debian/changelog
--- bbdb-2.35.cvs20060204/debian/changelog
+++ bbdb-2.35.cvs20060204/debian/changelog
@@ -1,3 +1,11 @@
+bbdb (2.35.cvs20060204-1.1) unstable; urgency=low
+
+  * NMU with the permission of the maintainer.
+  * Set coding system when writing .bbdb file to prevent data corruption.
+    (Closes: #351778)
+
+ -- Hubert Chan <[EMAIL PROTECTED]>  Thu, 13 Apr 2006 15:42:40 +0200
+
 bbdb (2.35.cvs20060204-1) unstable; urgency=low
 
   * New CVS co
only in patch2:
unchanged:
--- bbdb-2.35.cvs20060204.orig/lisp/bbdb.el
+++ bbdb-2.35.cvs20060204/lisp/bbdb.el
@@ -2452,7 +2452,8 @@
     (insert-before-markers (format ";; -*-coding: %s;-*-\n"
                                    bbdb-file-coding-system)))
   (setq bbdb-modified-p nil
-        bbdb-changed-records nil)
+        bbdb-changed-records nil
+        buffer-file-coding-system bbdb-file-coding-system)
   (let ((buf (get-buffer bbdb-buffer-name)))
     (when buf
       (with-current-buffer buf

-- 
Martin Michlmayr
http://www.cyrius.com/


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

Reply via email to