insecure tempfile problem
Katsumi Yamaoka
yamaoka @ jpl.org
2003年 5月 8日 (木) 20:19:30 JST
>>>>> In [Wanderlust : No.11854]
>>>>> Shuhei KOBAYASHI <shuhei @ aqua.ocn.ne.jp> wrote:
小林さん> XEmacs には temporary-file-directory に相当するものは今もな
小林さん> いのでしたっけ?
`temp-directory' is a built-in function
(temp-directory)
Documentation:
Return the pathname to the directory to use for temporary files.
On MS Windows, this is obtained from the TEMP or TMP environment variables,
defaulting to / if they are both undefined.
On Unix it is obtained from TMPDIR, with /tmp as the default.
少なくとも XEmacs 21.1 以上で存在します。20.x は今は簡単に動かせ
ないのでご勘弁を。以下は Gnus での使われ方です。
(defcustom mm-tmp-directory
(if (fboundp 'temp-directory)
(temp-directory)
(if (boundp 'temporary-file-directory)
temporary-file-directory
"/tmp/"))
"Where mm will store its temporary files."
:type 'directory
:group 'mime-display)
--
Katsumi Yamaoka <yamaoka @ jpl.org>
More information about the Emacs-mime-ja
mailing list