ruby-changes:18842
From: usa <ko1@a...>
Date: Mon, 14 Feb 2011 13:17:07 +0900 (JST)
Subject: [ruby-changes:18842] Ruby:r30867 (trunk): * win32/win32.c (is_internal_cmd): if the first char of prog is '@',
usa 2011-02-14 13:17:01 +0900 (Mon, 14 Feb 2011) New Revision: 30867 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30867 Log: * win32/win32.c (is_internal_cmd): if the first char of prog is '@', execute it via shell. [ruby-core:35218] (#4393) Modified files: trunk/ChangeLog trunk/win32/win32.c Index: ChangeLog =================================================================== --- ChangeLog (revision 30866) +++ ChangeLog (revision 30867) @@ -1,3 +1,8 @@ +Mon Feb 14 13:15:35 2011 NAKAMURA Usaku <usa@r...> + + * win32/win32.c (is_internal_cmd): if the first char of prog is '@', + execute it via shell. [ruby-core:35218] (#4393) + Mon Feb 14 10:33:45 2011 NAKAMURA Usaku <usa@r...> * lib/test/unit.rb: revert r30863, because it causes too many noise. Index: win32/win32.c =================================================================== --- win32/win32.c (revision 30866) +++ win32/win32.c (revision 30867) @@ -854,6 +854,8 @@ do { if (!(c = *cmd++)) return 0; } while (isspace(c)); + if (c == '@') + return 1; while (isalpha(c)) { *b++ = tolower(c); if (b == cmdname + sizeof(cmdname)) return 0; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/