Index: xotcl/library/comm/PCache.xotcl =================================================================== diff -u -rf9bb662bd07a30d00a33e75ab3354bb9f8463999 -re525b7364d9b1fbc7b06e81becf4fe0df06c4209 --- xotcl/library/comm/PCache.xotcl (.../PCache.xotcl) (revision f9bb662bd07a30d00a33e75ab3354bb9f8463999) +++ xotcl/library/comm/PCache.xotcl (.../PCache.xotcl) (revision e525b7364d9b1fbc7b06e81becf4fe0df06c4209) @@ -1,4 +1,4 @@ -# -*- Tcl -*- $Id: PCache.xotcl,v 1.8 2007/08/14 16:36:47 neumann Exp $ +# -*- Tcl -*- $Id: PCache.xotcl,v 1.9 2007/08/14 16:38:26 neumann Exp $ # Persistent Cache object, using gdbm # Configuration: @@ -10,7 +10,7 @@ # 2) If "CACHE_DIR" is not set, the global variable "homedir" # is checked, which is assumed to be the home directory # of the Cineast browser -# 3) As a last resource the /tmp directory is used as the cache directory +# 3) As a last resource the tmp directory is used as the cache directory # # Additionally, the cache directory can be specified after loading of this # file (before the first open) through the instance variable "dir" @@ -29,7 +29,7 @@ if {![info exists CACHE_DIR]} { if {![info exists homeDir]} { - set homeDir /tmp + set homeDir [::xotcl::tmpdir] } set CACHE_DIR $homeDir/cache2 }