From b28231165a8eef2fcbdbc41d6abc4d0d46155172 Mon Sep 17 00:00:00 2001 From: Rui Hirokawa Date: Mon, 9 Apr 2012 23:32:41 +0900 Subject: [PATCH] fixed a mistake on reverting my previous patch: http://git.php.net/?p=php-src.git;a=commitdiff;h=50b2e02c045b61f99e8c72d54e6bec055aee98e4 --- ext/standard/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0