apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <i...@apache.org>
Subject Re: [PATCH] apr/threadproc/win32/proc.c:apr_proc_create()
Date Thu, 18 Jul 2002 12:59:38 GMT
Rob Saccoccio wrote:
> The HANDLE members in the STARTUPINFO struct used in the call to
> CreateProcess() aren't currently initialized properly...
> 
> --rob

Commited
Thanks Rob.


> 
> 
> diff -u -r1.80 proc.c
> --- proc.c	5 Jul 2002 17:58:10 -0000	1.80
> +++ proc.c	18 Jul 2002 04:31:54 -0000
> @@ -590,6 +590,10 @@
> 
>          memset(&si, 0, sizeof(si));
>          si.cb = sizeof(si);
> +        si.hStdInput = INVALID_HANDLE_VALUE;
> +        si.hStdOutput = INVALID_HANDLE_VALUE;
> +        si.hStdError = INVALID_HANDLE_VALUE;
> +
>          if (attr->detached) {
>              si.dwFlags |= STARTF_USESHOWWINDOW;
>              si.wShowWindow = SW_HIDE;
> 




Mime
View raw message