]> granicus.if.org Git - php/commitdiff
fix unix build....
authorWez Furlong <wez@php.net>
Fri, 5 Dec 2003 13:48:40 +0000 (13:48 +0000)
committerWez Furlong <wez@php.net>
Fri, 5 Dec 2003 13:48:40 +0000 (13:48 +0000)
ext/standard/proc_open.c

index d23bc4076ce85aa01c4075368c222399613e5106..9e30383cd11e88c5bb9b315c4b9231bc445499b1 100644 (file)
@@ -467,11 +467,11 @@ PHP_FUNCTION(proc_open)
        SECURITY_ATTRIBUTES security;
        char *command_with_cmd;
        UINT old_error_mode;
-       int suppress_errors = 0;
 #endif
        php_process_id_t child;
        struct php_process_handle *proc;
        int is_persistent = 0; /* TODO: ensure that persistent procs will work */
+       int suppress_errors = 0;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "saz|s!a!a!", &command,
                                &command_len, &descriptorspec, &pipes, &cwd, &cwd_len, &environment,