[Ecls-list] (compile) leaks zero-length temporary files

Erik Huelsmann ehuels at gmail.com
Sun Sep 14 17:42:20 UTC 2008


>> $ ecl -norc -eval '(progn (print (translate-logical-pathname "TMP:FOO"))
>> (quit))'
>> #P"/var/folders/kU/kUiyJak2GK4YuehJzAcNGU+++TI/-Tmp-/FOO"
>> $ echo $TMPDIR
>> /var/folders/kU/kUiyJak2GK4YuehJzAcNGU+++TI/-Tmp-/
>>
>> The logical hostname "TMP:" is defined as an alias of $TMPDIR, $TEMP or
>> $TMP, whatever is defined.
>
> $ printenv | egrep 'TE?MP'
> $ ecl -norc -eval '(progn (print (translate-logical-pathname "TMP:FOO")) (quit))'
> #P"FOO"
>
> If none of those three variables are set then it falls back to the
> current directory.  It seems to me that /tmp would be a more sane
> default than . in that case.

Even on Windows?

Bye,

Erik.




More information about the ecl-devel mailing list