ruby-changes:41631
From: nobu <ko1@a...>
Date: Mon, 1 Feb 2016 17:12:58 +0900 (JST)
Subject: [ruby-changes:41631] nobu:r53705 (trunk): win32.c: suffix should be alnum
nobu 2016-02-01 17:14:03 +0900 (Mon, 01 Feb 2016) New Revision: 53705 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53705 Log: win32.c: suffix should be alnum * win32/win32.c (fileattr_to_unixmode): built-in executable suffixes are alpha-numeric only, no needs to scan whole path, especially path separators. Modified files: trunk/win32/win32.c Index: win32/win32.c =================================================================== --- win32/win32.c (revision 53704) +++ win32/win32.c (revision 53705) @@ -5337,6 +5337,7 @@ fileattr_to_unixmode(DWORD attr, const W https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L5337 } break; } + if (!iswalnum(*end)) break; } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/