From 216d1d00a5b01ccc5f994a0b8a32d9ad2353cbff Mon Sep 17 00:00:00 2001 From: Shane Caraveo Date: Mon, 17 Feb 2003 06:45:37 +0000 Subject: you know it's time to get away from the keyboard when you do this. fix my last fix --- ext/standard/proc_open.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ext/standard/proc_open.c') diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index 2848652fda..58f1c29ade 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -485,9 +485,7 @@ PHP_FUNCTION(proc_open) RETURN_FALSE; } - if (cwd_len==0) { - cwd = NULL; - } + command_len = strlen(command); if (environment) { env = _php_array_to_envp(environment, is_persistent TSRMLS_CC); -- cgit v1.2.1