Provide a sane default for the "TMP" pathname host on UNIX.

This commit is contained in:
Samium Gromoff 2009-04-09 21:08:13 +04:00 committed by Juan Jose Garcia Ripoll
parent 6661ef033b
commit bc74ead74f

View file

@ -121,6 +121,6 @@ Returns, as a string, the version of the software under which ECL runs."
(probe-file x)))
((and (setf x (ext:getenv "TMP"))
(probe-file x)))
(t (setf x "./")))
(t (setf x #+unix "/tmp" #-unix "./")))
(si::pathname-translations "TMP"
`(("**;*.*" ,(format nil "~A/**/*.*" x)))))