Commits

Anonymous committed 00fb566

2003-09-12 Hrvoje Niksic <hniksic@xemacs.org>

* pop3.el (pop3-movemail): Use binary coding system when writing
to crashbox. Since binary was used to read the data from the
network, using it for writing guarantees that the same octets will
be stored that were retrieved from the server.

  • Participants
  • Parent commits e6f61c8

Comments (0)

Files changed (2)

+2003-09-12  Hrvoje Niksic  <hniksic@xemacs.org>
+
+	* pop3.el (pop3-movemail): Use binary coding system when writing
+	to crashbox.  Since binary was used to read the data from the
+	network, using it for writing guarantees that the same octets will
+	be stored that were retrieved from the server.
+
 2003-09-04  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.61 released.
 	  (setq n (+ 1 n)))
       ;; frob the crash buffer at the end
       (set-buffer crashbuf)
-      (append-to-file (point-min) (point-max) crashbox)
+      (let ((coding-system-for-write 'binary))
+	(append-to-file (point-min) (point-max) crashbox))
       ;; mark messages as read
       (when pop3-leave-mail-on-server
 	(pop3-save-uidls))