Commit:    882dca647a42c974102cfd1c75818764a199998f
Author:    Rui Hirokawa <rui.hirok...@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


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to