summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Hirokawa <rui.hirokawa@gmail.com>2012-04-09 23:32:41 +0900
committerRui Hirokawa <rui.hirokawa@gmail.com>2012-04-09 23:32:41 +0900
commitb28231165a8eef2fcbdbc41d6abc4d0d46155172 (patch)
tree38ad91c03e743f4addda64c9d05484b8d632830b
parent8ac56c15c98f27ac097fe53ac3bdf91a543eaed2 (diff)
downloadphp-git-b28231165a8eef2fcbdbc41d6abc4d0d46155172.tar.gz
fixed a mistake on reverting my previous patch:
http://git.php.net/?p=php-src.git;a=commitdiff;h=50b2e02c045b61f99e8c72d54e6bec055aee98e4
-rw-r--r--ext/standard/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index b0ccdeca3b..a5ca84bb6b 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -272,8 +272,8 @@ PHPAPI char *php_escape_shell_cmd(char *str)
p = NULL;
} else {
cmd[y++] = '\\';
- cmd[y++] = str[x];
}
+ cmd[y++] = str[x];
break;
#else
/* % is Windows specific for enviromental variables, ^%PATH% will