ruby-changes:15420
From: nobu <ko1@a...>
Date: Mon, 12 Apr 2010 09:19:13 +0900 (JST)
Subject: [ruby-changes:15420] Ruby:r27316 (trunk): * lib/fileutils.rb (fu_have_st_ino): check if required method is
nobu 2010-04-12 09:18:55 +0900 (Mon, 12 Apr 2010) New Revision: 27316 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27316 Log: * lib/fileutils.rb (fu_have_st_ino): check if required method is defined, instead of platform name. Modified files: trunk/ChangeLog trunk/lib/fileutils.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 27315) +++ ChangeLog (revision 27316) @@ -1,3 +1,8 @@ +Mon Apr 12 09:18:53 2010 Nobuyoshi Nakada <nobu@r...> + + * lib/fileutils.rb (fu_have_st_ino): check if required method is + defined, instead of platform name. + Mon Apr 12 05:10:20 2010 Marc-Andre Lafortune <ruby-core@m...> * lib/matrix.rb: New method Matrix.build [ruby-core:28272] Index: lib/fileutils.rb =================================================================== --- lib/fileutils.rb (revision 27315) +++ lib/fileutils.rb (revision 27316) @@ -1437,7 +1437,7 @@ private_module_function :fu_same? def fu_have_st_ino? #:nodoc: - not fu_windows? + File::Stat.method_defined?(:ino) end private_module_function :fu_have_st_ino? -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/