[前][次][番号順一覧][スレッド一覧]

ruby-changes:30422

From: nobu <ko1@a...>
Date: Sun, 11 Aug 2013 08:55:12 +0900 (JST)
Subject: [ruby-changes:30422] nobu:r42501 (trunk): dir.c: normalization

nobu	2013-08-11 08:55:05 +0900 (Sun, 11 Aug 2013)

  New Revision: 42501

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42501

  Log:
    dir.c: normalization
    
    * dir.c (glob_helper): re-enalbe normalization.

  Modified files:
    trunk/dir.c
Index: dir.c
===================================================================
--- dir.c	(revision 42500)
+++ dir.c	(revision 42501)
@@ -1418,7 +1418,7 @@ glob_helper( https://github.com/ruby/ruby/blob/trunk/dir.c#L1418
 	    name = dp->d_name;
 	    namlen = NAMLEN(dp);
 # if HAVE_HFS
-	    if (0&&hfs_p && has_nonascii(name, namlen)) {
+	    if (hfs_p && has_nonascii(name, namlen)) {
 		if (!NIL_P(utf8str = rb_str_normalize_ospath(name, namlen))) {
 		    RSTRING_GETMEM(utf8str, name, namlen);
 		}

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]