]> granicus.if.org Git - php/commitdiff
Fix windows build error.
authorScott MacVicar <scottmac@php.net>
Tue, 22 Jul 2008 21:53:53 +0000 (21:53 +0000)
committerScott MacVicar <scottmac@php.net>
Tue, 22 Jul 2008 21:53:53 +0000 (21:53 +0000)
ext/standard/exec.c

index 79157b8186001cf1b05502d552798d5fb7bcbe6a..b8b79b27a8b96ee3bf3b0829b5e13d49dac01833 100644 (file)
@@ -302,7 +302,7 @@ PHPAPI char *php_escape_shell_cmd(char *str)
 #else
                        /* This is Windows specific for enviromental variables */
                        case '%':
-                               cmd[y++] = '';
+                               cmd[y++] = ' ';
                                break;
 #endif
                        case '#': /* This is character-set independent */