summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2008-07-22 21:53:53 +0000
committerScott MacVicar <scottmac@php.net>2008-07-22 21:53:53 +0000
commit8d3bfaa01ff7e5ef1f022cb2e4182d0a6347ddb6 (patch)
treeb5d012038b3a412e5b7fac84f84c621f2c4b4619
parent0d30c88ded9883e801ef7e83ed78eae4f1eb20db (diff)
downloadphp-git-8d3bfaa01ff7e5ef1f022cb2e4182d0a6347ddb6.tar.gz
Fix windows build error.
-rw-r--r--ext/standard/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index 79157b8186..b8b79b27a8 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -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 */