aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--dir.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 269119406b..c1988f3dd9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Dec 2 19:06:06 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
+
+ * dir.c (Compare): should not fold double byte alphabet on win9x.
+
Thu Dec 1 00:50:33 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_funcall2): allow to call protected methods.
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");