1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* win32/win32.c (rb_w32_cmdvector): backslashes inside single-quotes

no longer has special meanings.  fixed: [ruby-list:42311]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2006-06-01 10:13:41 +00:00
parent e4602e1d27
commit da7472ee99
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Thu Jun 1 19:12:37 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/win32.c (rb_w32_cmdvector): backslashes inside single-quotes
no longer has special meanings. fixed: [ruby-list:42311]
Thu Jun 1 16:17:26 2006 NAKAMURA Usaku <usa@ruby-lang.org> Thu Jun 1 16:17:26 2006 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (rb_w32_getcwd): runtime's getcwd() will not success * win32/win32.c (rb_w32_getcwd): runtime's getcwd() will not success

View file

@ -1179,7 +1179,7 @@ rb_w32_cmdvector(const char *cmd, char ***vec)
switch (*ptr) { switch (*ptr) {
case '\\': case '\\':
slashes++; if (quote != '\'') slashes++;
break; break;
case ' ': case ' ':
@ -1261,7 +1261,7 @@ rb_w32_cmdvector(const char *cmd, char ***vec)
switch (c = *p) { switch (c = *p) {
case '\\': case '\\':
p++; p++;
slashes++; if (quote != '\'') slashes++;
break; break;
case '\'': case '\'':