1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/tempfile.rb (Tempfile#unlink): fixed typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-05-11 01:46:31 +00:00
parent 1843d8abbc
commit e08694be84
2 changed files with 5 additions and 1 deletions

View file

@ -116,7 +116,7 @@ class Tempfile < DelegateClass(File)
@@cleanlist.delete(@tmpname)
@data = @tmpname = nil
ObjectSpace.undefine_finalizer(self)
rescue Errno::EACCESS
rescue Errno::EACCES
# may not be able to unlink on Windows; just ignore
end
end