From 041b94f368746ba369ed7c6371d80f0c753eb1c0 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Thu, 6 Jul 2000 22:07:08 +0000 Subject: [PATCH] Synch. --- lisp/ChangeLog | 4 ++++ lisp/mm-decode.el | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8aace9b..99af294 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2000-07-06 14:17:48 ShengHuo ZHU + + * mm-decode.el (mm-dissect-multipart): Match the EOL of boundary. + 2000-07-05 21:19:22 ShengHuo ZHU * nnheader.el (nnheader-insert-nov): Remove EOLs of all fields. diff --git a/lisp/mm-decode.el b/lisp/mm-decode.el index ef28aa1..0ea60e1 100644 --- a/lisp/mm-decode.el +++ b/lisp/mm-decode.el @@ -295,7 +295,8 @@ to: (if (re-search-backward close-delimiter nil t) (match-beginning 0) (point-max))))) - (while (search-forward boundary end t) + (setq boundary (concat (regexp-quote boundary) "[ \t]*$")) + (while (re-search-forward boundary end t) (goto-char (match-beginning 0)) (when start (save-excursion -- 1.7.10.4