Skip to content

Commit

Permalink
* dir.c (Compare): should not fold double byte alphabet on win9x.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
ocean committed Dec 2, 2005
1 parent ff5e9fe commit 47debbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Fri Dec 2 19:06:06 2005 Hirokazu Yamamoto <[email protected]>

* dir.c (Compare): should not fold double byte alphabet on win9x.

Thu Dec 1 00:50:33 2005 Nobuyoshi Nakada <[email protected]>

* eval.c (rb_funcall2): allow to call protected methods.
Expand Down
2 changes: 1 addition & 1 deletion dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 47debbf

Please sign in to comment.