diff options
| author | ShengHuo ZHU | 2002-08-20 07:57:01 +0000 |
|---|---|---|
| committer | ShengHuo ZHU | 2002-08-20 07:57:01 +0000 |
| commit | 83ec6f20589940f84b25efd1b2410674299aabdd (patch) | |
| tree | 039f0e586892548da21730ff0ee33a3669132a62 | |
| parent | 530e07516732a573289aef2fb699e769b7b0b79b (diff) | |
| download | emacs-83ec6f20589940f84b25efd1b2410674299aabdd.tar.gz emacs-83ec6f20589940f84b25efd1b2410674299aabdd.zip | |
* nnmh.el (nnmh-request-list-1): Use %.0f instead of %d to
avoid arithmetic errors.
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/nnmh.el | 4 |
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 @@ | |||
| 1 | 2002-08-20 ShengHuo ZHU <zsh@cs.rochester.edu> | ||
| 2 | |||
| 3 | * nnmh.el (nnmh-request-list-1): Use %.0f instead of %d to | ||
| 4 | avoid arithmetic errors. | ||
| 5 | |||
| 1 | 2002-07-06 ShengHuo ZHU <zsh@cs.rochester.edu> | 6 | 2002-07-06 ShengHuo ZHU <zsh@cs.rochester.edu> |
| 2 | 7 | ||
| 3 | * gnus-topic.el (gnus-topic-indent, gnus-topic-unindent): Change | 8 | * 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 @@ | |||
| 1 | ;;; nnmh.el --- mhspool access for Gnus | 1 | ;;; nnmh.el --- mhspool access for Gnus |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 | 3 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2002 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> |
| @@ -232,7 +232,7 @@ as unread by Gnus.") | |||
| 232 | (goto-char (point-max)) | 232 | (goto-char (point-max)) |
| 233 | (insert | 233 | (insert |
| 234 | (format | 234 | (format |
| 235 | "%s %d %d y\n" | 235 | "%s %.0f %.0f y\n" |
| 236 | (progn | 236 | (progn |
| 237 | (string-match | 237 | (string-match |
| 238 | (regexp-quote | 238 | (regexp-quote |