summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-02 10:10:19 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-02 10:10:19 +0000
commit47debbfa60087b183c314d94cc887a4eb376d009 (patch)
tree0851441c4f98db6016a12722a3b151354c5f9bba /dir.c
parentff5e9fecede8b497630417ca8b8bda0de1be2c15 (diff)
* dir.c (Compare): should not fold double byte alphabet on win9x.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 8e0b49fc43..4ae4f5dafa 100644
--- a/dir.c
+++ b/dir.c
@@ -121,7 +121,7 @@ CompareImpl(const char *p1, const char *p2, int nocase)
if (len2 == 0) return -len1;
#ifdef _WIN32
- if (nocase) {
+ if (nocase && rb_w32_iswinnt()) {
if (len1 > 1) {
if (len1 >= sizeof(buf1)) {
rb_fatal("CompareImpl: too large len");