Commit:    07679e98d6f28a8a71e27ead479ae65a72c0d58d
Author:    Rui Hirokawa <rui.hirok...@gmail.com>         Mon, 9 Apr 2012 
23:49:18 +0900
Committer: Stanislav Malyshev <s...@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


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

Reply via email to