summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-25 08:50:55 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-25 08:50:55 +0000
commitacd82f6e24494ccced2fca81681c1beb1a5e0e58 (patch)
tree44c97d8f5249b5a21678a5456ea08fffac3f6a12
parent9dc3a7d7a5aece71c2bad9d2ec185f2ef87245b6 (diff)
* win32/win32.c (has_redirection): should use shell (cmd.exe) when
the commandline containts '&'. reported by Roger Pack at [ruby-core:47912] [Bug #7143], and patched by Heesob Park at [ruby-core:47931]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog7
-rw-r--r--win32/win32.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e1375b6..edde7cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Thu Oct 25 17:48:54 2012 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * win32/win32.c (has_redirection): should use shell (cmd.exe) when
+ the commandline containts '&'.
+ reported by Roger Pack at [ruby-core:47912] [Bug #7143], and
+ patched by Heesob Park at [ruby-core:47931].
+
Thu Oct 25 15:00:08 2012 Koichi Sasada <ko1@atdot.net>
* include/ruby/ruby.h, class.c: remove (revert)
diff --git a/win32/win32.c b/win32/win32.c
index 7eaf1fc..3446728 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1446,6 +1446,7 @@ has_redirection(const char *cmd)
case '>':
case '<':
case '|':
+ case '&':
case '\n':
if (!quote)
return TRUE;