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/trunk@8422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-05-11 01:46:31 +00:00
parent b7c3cb31f0
commit edc4823184
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Wed May 11 10:41:54 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* lib/tempfile.rb (Tempfile#unlink): fixed typo.
Wed May 11 01:03:36 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (TMP_ALLOC): use macro NEW_NODE() to get rid of warnings on
@ -132,7 +136,7 @@ Thu Apr 21 00:07:50 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
Wed Apr 20 23:22:39 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* Makefile.in, common.mk: miniruby depens on MINIOBJS.
* Makefile.in, common.mk: miniruby depends on MINIOBJS.
* dmydln.c (dln_load): dummy function to raise LoadError.

View file

@ -118,7 +118,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