com php-src: MFH: fixed a mistake on reverting my previous patch.: ext/standard/exec.c
| From: | Rui Hirokawa | Date: | Mon, 09 Apr 2012 14:49:18 +0000 |
| Subject: | com php-src: MFH: fixed a mistake on reverting my previous patch.: ext/standard/exec.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-68699@lists.php.net to get a copy of this message | ||
Commit: 882dca647a42c974102cfd1c75818764a199998f
Author: Rui Hirokawa <rui.hirokawa@gmail.com> Mon, 9 Apr 2012 23:49:18 +0900
Parents: 7ae93a2c4c8a51cc2aec9977ce3c83c100e382a0
Branches: PHP-5.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=882dca647a42c974102cfd1c75818764a199998f
Log:
MFH: fixed a mistake on reverting my previous patch.
Changed paths:
M ext/standard/exec.c
Diff:
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index b0ccdec..a5ca84b 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