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


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

Reply via email to