summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-11 01:46:31 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-11 01:46:31 +0000
commit400390e507804c4ee14bde3f441df8c0a47d0958 (patch)
tree801696c8348d4a6374faac5b968b250ce022ef2e
parent09ee1a646b17f7e1eb750a23bfea833f7bcac6e7 (diff)
downloadruby-400390e507804c4ee14bde3f441df8c0a47d0958.tar.gz
ruby-400390e507804c4ee14bde3f441df8c0a47d0958.tar.xz
ruby-400390e507804c4ee14bde3f441df8c0a47d0958.zip
* lib/tempfile.rb (Tempfile#unlink): fixed typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--lib/tempfile.rb2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 45a77f90d..f6a412328 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 65b4bc69a..1b2a889b4 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -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