summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog5
-rw-r--r--win32/win32.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 19f0748c9a..a6877fe511 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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,