diff options
| author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-02 10:10:19 +0000 |
|---|---|---|
| committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-02 10:10:19 +0000 |
| commit | a3d06e45e3087db8d46d02d5435f505c6e319425 (patch) | |
| tree | 0851441c4f98db6016a12722a3b151354c5f9bba | |
| parent | 4c3fc5828ed3fdd6c125137281ce701b0100a929 (diff) | |
| download | ruby-a3d06e45e3087db8d46d02d5435f505c6e319425.tar.gz ruby-a3d06e45e3087db8d46d02d5435f505c6e319425.tar.xz ruby-a3d06e45e3087db8d46d02d5435f505c6e319425.zip | |
* dir.c (Compare): should not fold double byte alphabet on win9x.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | dir.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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. @@ -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"); |
