ruby-changes:22938
From: akr <ko1@a...>
Date: Mon, 12 Mar 2012 20:09:41 +0900 (JST)
Subject: [ruby-changes:22938] akr:r34987 (trunk): * lib/fileutils.rb (fu_have_symlink?): specify TypeError for rescue
akr 2012-03-12 20:09:11 +0900 (Mon, 12 Mar 2012) New Revision: 34987 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34987 Log: * lib/fileutils.rb (fu_have_symlink?): specify TypeError for rescue clause. Modified files: trunk/ChangeLog trunk/lib/fileutils.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 34986) +++ ChangeLog (revision 34987) @@ -1,3 +1,8 @@ +Mon Mar 12 20:08:16 2012 Tanaka Akira <akr@f...> + + * lib/fileutils.rb (fu_have_symlink?): specify TypeError for rescue + clause. + Mon Mar 12 19:23:13 2012 Nobuyoshi Nakada <nobu@r...> * encoding.c (rb_find_encoding): new function find encoding from Index: lib/fileutils.rb =================================================================== --- lib/fileutils.rb (revision 34986) +++ lib/fileutils.rb (revision 34987) @@ -816,7 +816,7 @@ File.symlink nil, nil rescue NotImplementedError return false - rescue + rescue TypeError return true end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/