mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/tempfile.rb (Tempfile#unlink): reverted r23494, since the
usage in RubyInline is considered wrong. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b6cf785119
commit
d4e85c416d
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Aug 26 13:48:33 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* vm.c (collect_local_variables_in_env): skips internal variables.
|
||||
|
|
|
@ -137,7 +137,6 @@ class Tempfile < DelegateClass(File)
|
|||
# keep this order for thread safeness
|
||||
begin
|
||||
if File.exist?(@tmpname)
|
||||
closed? or close
|
||||
File.unlink(@tmpname)
|
||||
end
|
||||
@@cleanlist.delete(@tmpname)
|
||||
|
|
Loading…
Reference in a new issue