Oliver Buerschaper wrote:
>>> Which is odd, to say the least. Where *do* temporary files go on OSX?
>> To /tmp, but there is no $TMP or $TEMP defined anywhere.
>
> In Mac OS X 10.5.2 there's a $TMPDIR environment variable if that
> helps ...
when discussing the cache Arthur had a preference for HOME, so home is
tested before TMPDIR
personally i prefer TEMP || TMP || TMPDIR || HOME
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-context