From: Rui Hirokawa Date: Mon, 9 Apr 2012 14:49:18 +0000 (+0900) Subject: MFH: fixed a mistake on reverting my previous patch. X-Git-Tag: php-5.4.4RC1~146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=882dca647a42c974102cfd1c75818764a199998f;p=php MFH: fixed a mistake on reverting my previous patch. --- 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