Accept an attribute header that is too short.
2009-08-13 Richard Stallman <rms@gnu.org>
+ * mail/rmail.el (rmail-get-attr-names):
+ Accept an attribute header that is too short.
+
* progmodes/compile.el (compilation-goto-locus):
Use next-error-move-function.
(nmax (length rmail-attr-array))
result temp)
(when value
- (if (/= (length value) nmax)
+ (if (> (length value) nmax)
(message "Warning: corrupt attribute header in message")
- (dotimes (index nmax)
+ (dotimes (index (length value))
(setq temp (and (not (= ?- (aref value index)))
(nth 1 (aref rmail-attr-array index)))
result