elmo-copy-file instead of elmo-add-name-to-file.
* elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
+ * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
+ elmo-copy-file instead of elmo-add-name-to-file.
+
+ * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
+
* elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
"file://..." index.
(let ((temp-dir (elmo-folder-make-temporary-directory folder))
(cur-number (or start-number 0)))
(dolist (number numbers)
- (elmo-add-name-to-file
+ (elmo-copy-file
(expand-file-name
(int-to-string number)
(elmo-localdir-folder-directory-internal folder))
(let ((temp-dir (elmo-folder-make-temporary-directory folder))
(cur-number (if start-number 0)))
(dolist (number numbers)
- (elmo-add-name-to-file
+ (elmo-copy-file
(elmo-message-file-name folder number)
(expand-file-name
(int-to-string (if start-number (incf cur-number) number))