Mail Archives: djgpp/2004/04/22/10:08:04
On my machine, I have TMPDIR, TEMP, and TMP all set to e: (my ram drive)
which seems to work fine, except that Emacs insists on changing TMPDIR
to c:/ while it's being run. The reason for this is that the function
init_environment in msdos.c (in Emacs sources) calls access with the
value of each variable, but doesn't check that there's a trailing slash,
and this causes access to fail. I'm not quite sure whether
access("e:", D_OK) should fail or not, but in either case, Emacs should
probably add the trailing slash before calling access and setting TMPDIR
(in case some Emacs functions assume that there is a trailing slash).
--
Esa Peuha
student of mathematics at the University of Helsinki
http://www.helsinki.fi/~peuha/
- Raw text -