summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-06 02:42:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-06 02:42:10 +0000
commit113423bdff9c888195c6e22949d5d7f849a05b04 (patch)
treef35b101d47153d6cb0a904129d6c2afc3ecf3caa /win32
parent64465c4d808666f9876cacabd436c77ee5c811a7 (diff)
* win32/win32.c (make_cmdvector): process backslashes even if a quote
is not enclosed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c
index c85b1b48e8..81eca672a9 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1195,8 +1195,7 @@ make_cmdvector(const char *cmd, char ***vec)
//
len = ptr - base;
- if (quote) escape = 0;
- else if (done) --len;
+ if (done) --len;
//
// if it's an input vector element and it's enclosed by quotes,