com php-src: fixed a mistake on reverting my previous patch: http://git.php.net/?p=php-src.git;a=commitdiff ;h=50b2e02c045b61f99e8c72d5
4e6bec055aee98e4: ext/standard/exec.c
| From: | Rui Hirokawa | Date: | Mon, 09 Apr 2012 14:32:41 +0000 |
| Subject: | com php-src: fixed a mistake on reverting my previous patch: http://git.php.net/?p=php-src.git;a=commitdiff ;h=50b2e02c045b61f99e8c72d5 4e6bec055aee98e4: ext/standard/exec.c |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-68698@lists.php.net to get a copy of this message | ||
Commit: b28231165a8eef2fcbdbc41d6abc4d0d46155172
Author: Rui Hirokawa <rui.hirokawa@gmail.com> Mon, 9 Apr 2012 23:32:41 +0900
Parents: 8ac56c15c98f27ac097fe53ac3bdf91a543eaed2
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b28231165a8eef2fcbdbc41d6abc4d0d46155172
Log:
fixed a mistake on reverting my previous patch:
http://git.php.net/?p=php-src.git;a=commitdiff;h=50b2e02c045b61f99e8c72d54e6bec055aee98e4
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