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

* lib/pathname.rb (Pathname::SAME_PATHS): FNM_SYSCASE is always

non-nil.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-10-23 00:13:02 +00:00
parent 01be019547
commit d645c25a7f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Oct 23 09:12:59 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/pathname.rb (Pathname::SAME_PATHS): FNM_SYSCASE is always
non-nil.
Fri Oct 23 07:32:37 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> Fri Oct 23 07:32:37 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in, Makefile.in, win32/Makefile.sub (XRUBY): runnable * configure.in, Makefile.in, win32/Makefile.sub (XRUBY): runnable

View file

@ -198,7 +198,7 @@ class Pathname
TO_PATH = :to_path TO_PATH = :to_path
end end
SAME_PATHS = if File::FNM_SYSCASE SAME_PATHS = if File::FNM_SYSCASE.nonzero?
proc {|a, b| a.casecmp(b).zero?} proc {|a, b| a.casecmp(b).zero?}
else else
proc {|a, b| a == b} proc {|a, b| a == b}