svnno****@sourc*****
svnno****@sourc*****
Thu Apr 5 12:48:34 JST 2007
Revision: 3148 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3148 Author: kous Date: 2007-04-05 12:48:34 +0900 (Thu, 05 Apr 2007) Log Message: ----------- * data/ext/ruby/kazehakase-init-pre.rb (Kz::TMP_DIR): added PID for temporary directory name. Modified Paths: -------------- kazehakase/trunk/data/ext/ruby/kazehakase-init-pre.rb Modified: kazehakase/trunk/data/ext/ruby/kazehakase-init-pre.rb =================================================================== --- kazehakase/trunk/data/ext/ruby/kazehakase-init-pre.rb 2007-04-05 03:02:24 UTC (rev 3147) +++ kazehakase/trunk/data/ext/ruby/kazehakase-init-pre.rb 2007-04-05 03:48:34 UTC (rev 3148) @@ -48,7 +48,7 @@ begin require 'gtk2' ENABLE = true - TMP_DIR = File.join(GLib.tmp_dir, PACKAGE) + TMP_DIR = File.join(GLib.tmp_dir, "#{PACKAGE}-#{Process.pid}") barrier do FileUtils.rm_rf(TMP_DIR) FileUtils.mkdir_p(TMP_DIR)