summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShengHuo ZHU <zsh@cs.rochester.edu>2002-08-20 07:57:01 +0000
committerShengHuo ZHU <zsh@cs.rochester.edu>2002-08-20 07:57:01 +0000
commit83ec6f20589940f84b25efd1b2410674299aabdd (patch)
tree039f0e586892548da21730ff0ee33a3669132a62
parent530e07516732a573289aef2fb699e769b7b0b79b (diff)
downloademacs-83ec6f20589940f84b25efd1b2410674299aabdd.tar.gz
emacs-83ec6f20589940f84b25efd1b2410674299aabdd.tar.bz2
emacs-83ec6f20589940f84b25efd1b2410674299aabdd.zip
* nnmh.el (nnmh-request-list-1): Use %.0f instead of %d to
avoid arithmetic errors.
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/nnmh.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index bb2fe61255a..b028c6ffb9f 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -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
diff --git a/lisp/gnus/nnmh.el b/lisp/gnus/nnmh.el
index fb1ad637dc3..aa4a3cd04f0 100644
--- a/lisp/gnus/nnmh.el
+++ b/lisp/gnus/nnmh.el
@@ -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 @@ as unread by Gnus.")
(goto-char (point-max))
(insert
(format
- "%s %d %d y\n"
+ "%s %.0f %.0f y\n"
(progn
(string-match
(regexp-quote