prefer /var/tmp over /usr/tmp (and /tmp)

svn: r8317
This commit is contained in:
Eli Barzilay 2008-01-14 07:47:31 +00:00
parent 7b7efc2fcc
commit 33d287bb56

View File

@ -5685,6 +5685,9 @@ find_system_path(int argc, Scheme_Object **argv)
return scheme_make_path(p); return scheme_make_path(p);
} }
if (scheme_directory_exists("/var/tmp"))
return scheme_make_path("/var/tmp");
if (scheme_directory_exists("/usr/tmp")) if (scheme_directory_exists("/usr/tmp"))
return scheme_make_path("/usr/tmp"); return scheme_make_path("/usr/tmp");