diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-06 02:42:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-06 02:42:10 +0000 |
commit | 113423bdff9c888195c6e22949d5d7f849a05b04 (patch) | |
tree | f35b101d47153d6cb0a904129d6c2afc3ecf3caa | |
parent | 64465c4d808666f9876cacabd436c77ee5c811a7 (diff) | |
download | ruby-113423bdff9c888195c6e22949d5d7f849a05b04.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | win32/win32.c | 3 |
2 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,4 @@ -Thu Nov 6 11:01:19 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> +Thu Nov 6 11:42:07 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/stringio/stringio.c (strio_set_string, strio_reopen): check tainted. @@ -14,6 +14,9 @@ Thu Nov 6 11:01:19 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/optparse.rb (OptionParser::Completion#complete): default not to ignore case on completion. [ruby-talk:84726] + * win32/win32.c (make_cmdvector): process backslashes even if a quote + is not enclosed. + Wed Nov 5 23:49:45 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org> * sample/openssl/gen_csr.rb: there (at least) is a CA which does not 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, |