diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-23 00:13:02 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-23 00:13:02 +0000 |
| commit | a16e6a9b8835bde8b8647dec62a3ce11d206ef9f (patch) | |
| tree | 5bc4dd10d4084e96126d1d1ea2f20fab4eb83dfb /lib | |
| parent | 0692f4ae6ced3816686eac437d0dcf29773d1218 (diff) | |
| download | ruby-a16e6a9b8835bde8b8647dec62a3ce11d206ef9f.tar.gz ruby-a16e6a9b8835bde8b8647dec62a3ce11d206ef9f.tar.xz ruby-a16e6a9b8835bde8b8647dec62a3ce11d206ef9f.zip | |
* lib/pathname.rb (Pathname::SAME_PATHS): FNM_SYSCASE is always
non-nil.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pathname.rb b/lib/pathname.rb index 8af8957c7..226b0da22 100644 --- a/lib/pathname.rb +++ b/lib/pathname.rb @@ -198,7 +198,7 @@ class Pathname TO_PATH = :to_path end - SAME_PATHS = if File::FNM_SYSCASE + SAME_PATHS = if File::FNM_SYSCASE.nonzero? proc {|a, b| a.casecmp(b).zero?} else proc {|a, b| a == b} |
