changeset 46966:47d8bf1dec03

* nnmh.el (nnmh-request-list-1): Use %.0f instead of %d to avoid arithmetic errors.
author ShengHuo ZHU <zsh@cs.rochester.edu>
date Tue, 20 Aug 2002 07:57:01 +0000
parents 711ccca26771
children 3b7e1c7a2739
files lisp/gnus/ChangeLog lisp/gnus/nnmh.el
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Tue Aug 20 07:07:19 2002 +0000
+++ b/lisp/gnus/ChangeLog	Tue Aug 20 07:57:01 2002 +0000
@@ -1,3 +1,8 @@
+2002-08-20  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+	* nnmh.el (nnmh-request-list-1): Use %.0f instead of %d to
+	avoid arithmetic errors.
+
 2002-07-06  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
 	* gnus-topic.el (gnus-topic-indent, gnus-topic-unindent): Change
--- a/lisp/gnus/nnmh.el	Tue Aug 20 07:07:19 2002 +0000
+++ b/lisp/gnus/nnmh.el	Tue Aug 20 07:57:01 2002 +0000
@@ -1,6 +1,6 @@
 ;;; nnmh.el --- mhspool access for Gnus
 
-;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000
+;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2002
 ;;	Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
@@ -232,7 +232,7 @@
 	  (goto-char (point-max))
 	  (insert
 	   (format
-	    "%s %d %d y\n"
+	    "%s %.0f %.0f y\n"
 	    (progn
 	      (string-match
 	       (regexp-quote