From 07679e98d6f28a8a71e27ead479ae65a72c0d58d Mon Sep 17 00:00:00 2001 From: Rui Hirokawa Date: Mon, 9 Apr 2012 23:49:18 +0900 Subject: MFH: fixed a mistake on reverting my previous patch. --- 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 -- cgit v1.2.1