changeset 1937:cac9e42fd31d

[xemacs-hg @ 2004-03-04 21:06:58 by youngs] 2004-02-23 Steve Youngs <sryoungs@bigpond.net.au> * package-get.el (package-get-update-base-from-buffer): Force binary coding system for verifying GnuPG signature in the package-index file.
author youngs
date Thu, 04 Mar 2004 21:06:59 +0000
parents 32d155870130
children e5b79b8f3a8a
files lisp/ChangeLog lisp/package-get.el
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Mar 03 22:50:40 2004 +0000
+++ b/lisp/ChangeLog	Thu Mar 04 21:06:59 2004 +0000
@@ -1,3 +1,9 @@
+2004-02-23  Steve Youngs  <sryoungs@bigpond.net.au>
+ 
+	* package-get.el (package-get-update-base-from-buffer): Force
+ 	binary coding system for verifying GnuPG signature in the
+ 	package-index file.
+ 
 2004-02-06  Jerry James  <james@xemacs.org>
 
 	* term/linux.el: Change iso-latin-1 to iso-8859-1.
--- a/lisp/package-get.el	Wed Mar 03 22:50:40 2004 +0000
+++ b/lisp/package-get.el	Thu Mar 04 21:06:59 2004 +0000
@@ -582,7 +582,9 @@
 used interactively, for example from a mail or news buffer."
   (interactive)
   (setq buf (or buf (current-buffer)))
-  (let (content-beg content-end)
+  (let ((coding-system-for-read 'binary)
+	(coding-system-for-write 'binary)
+	content-beg content-end)
     (save-excursion
       (set-buffer buf)
       (goto-char (point-min))