diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-26 04:48:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-26 04:48:38 +0000 |
commit | d4e85c416d1ad24fb6dd7c639260ef0c457d3816 (patch) | |
tree | 85dc17ee4f6af1ba9d3444286c08a1d2547e15b4 /lib/tempfile.rb | |
parent | b6cf78511962ba901ca4a86ffdeb6624afe8dfb1 (diff) |
* 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
Diffstat (limited to 'lib/tempfile.rb')
-rw-r--r-- | lib/tempfile.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb index a00208cd7c..1bee9e1015 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -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) |