* gnus-group.el (gnus-read-ephemeral-bug-group): Bind the coding
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 3 Jul 2011 18:50:04 +0000 (20:50 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 3 Jul 2011 18:50:04 +0000 (20:50 +0200)
systems to binary before writing and reading the mbox files.

lisp/ChangeLog
lisp/gnus-group.el

index 5b34127..05a9f12 100644 (file)
@@ -1,5 +1,8 @@
 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-group.el (gnus-read-ephemeral-bug-group): Bind the coding
+       systems to binary before writing and reading the mbox files.
+
        * gnus.el (gnus-summary-line-format): Link to the info node for %U
        instead of trying to list them all (bug#8978).
 
index 4ef8412..8338318 100644 (file)
@@ -2437,7 +2437,9 @@ the bug number, and browsing the URL must return mbox output."
                     (cdr (assoc 'emacs gnus-bug-group-download-format-alist))))
   (when (stringp number)
     (setq number (string-to-number number)))
-  (let ((tmpfile (mm-make-temp-file "gnus-temp-group-")))
+  (let ((tmpfile (mm-make-temp-file "gnus-temp-group-"))
+       (coding-system-for-write 'binary)
+       (coding-system-for-read 'binary))
     (with-temp-file tmpfile
       (url-insert-file-contents (format mbox-url number))
       (goto-char (point-min))