ruby-changes:12924
From: nobu <ko1@a...>
Date: Wed, 26 Aug 2009 13:48:57 +0900 (JST)
Subject: [ruby-changes:12924] Ruby:r24662 (trunk): * lib/tempfile.rb (Tempfile#unlink): reverted r23494, since the
nobu 2009-08-26 13:48:38 +0900 (Wed, 26 Aug 2009) New Revision: 24662 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24662 Log: * lib/tempfile.rb (Tempfile#unlink): reverted r23494, since the usage in RubyInline is considered wrong. Modified files: trunk/ChangeLog trunk/lib/tempfile.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 24661) +++ ChangeLog (revision 24662) @@ -1,3 +1,8 @@ +Wed Aug 26 13:48:33 2009 Nobuyoshi Nakada <nobu@r...> + + * lib/tempfile.rb (Tempfile#unlink): reverted r23494, since the + usage in RubyInline is considered wrong. + Wed Aug 26 12:36:58 2009 Nobuyoshi Nakada <nobu@r...> * vm.c (collect_local_variables_in_env): skips internal variables. Index: lib/tempfile.rb =================================================================== --- lib/tempfile.rb (revision 24661) +++ lib/tempfile.rb (revision 24662) @@ -137,7 +137,6 @@ # keep this order for thread safeness begin if File.exist?(@tmpname) - closed? or close File.unlink(@tmpname) end @@cleanlist.delete(@tmpname) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/