com php-src: MFH: fixed a mistake on reverting my previous patch.: ext/standard/exec.c
| From: | Stanislav Malyshev | 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-68806@lists.php.net to get a copy of this message | ||
Commit: 07679e98d6f28a8a71e27ead479ae65a72c0d58d
Author: Rui Hirokawa <rui.hirokawa@gmail.com> Mon, 9 Apr 2012 23:49:18 +0900
Committer: Stanislav Malyshev <stas@php.net> Fri, 13 Apr 2012 17:02:32 -0700
Parents: fa1437b144683eae4d253473c35e375f7b743811
Branches: PHP-5.4..1
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=07679e98d6f28a8a71e27ead479ae65a72c0d58d
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