Revision: 3193 http://trac.macosforge.org/projects/ruby/changeset/3193 Author: lsansonetti@apple.com Date: 2010-01-05 17:15:29 -0800 (Tue, 05 Jan 2010) Log Message: ----------- generate better tmpfiles to allow multiple compilations of the same project (backported from Ed's branch) Modified Paths: -------------- MacRuby/trunk/bin/rubyc Modified: MacRuby/trunk/bin/rubyc =================================================================== --- MacRuby/trunk/bin/rubyc 2010-01-06 00:59:27 UTC (rev 3192) +++ MacRuby/trunk/bin/rubyc 2010-01-06 01:15:29 UTC (rev 3193) @@ -341,7 +341,7 @@ end def gen_tmpfile(base, ext) - file = File.join(@tmpdir, "#{base}.#{ext}") + file = File.join(@tmpdir, "#{base}-#{$$}.#{ext}") @tmpfiles << file file end
participants (1)
-
source_changes@macosforge.org