Hi

2009/2/28 George Wang <gw...@php.net>:
> gwang           Fri Feb 27 23:33:01 2009 UTC
>
>  Modified files:              (Branch: PHP_5_3)
>    /php-src/sapi/litespeed     lsapilib.c
>  Log:
>  make STDOUT function as STDERR, in case any module call print()
>
> http://cvs.php.net/viewvc.cgi/php-src/sapi/litespeed/lsapilib.c?r1=1.5.2.5&r2=1.5.2.6&diff_format=u
> Index: php-src/sapi/litespeed/lsapilib.c
> diff -u php-src/sapi/litespeed/lsapilib.c:1.5.2.5 
> php-src/sapi/litespeed/lsapilib.c:1.5.2.6
> --- php-src/sapi/litespeed/lsapilib.c:1.5.2.5   Sun Sep 21 02:38:32 2008
> +++ php-src/sapi/litespeed/lsapilib.c   Fri Feb 27 23:33:01 2009
> @@ -16,7 +16,7 @@
>    +----------------------------------------------------------------------+
>  */
>
> -/* $Id: lsapilib.c,v 1.5.2.5 2008/09/21 02:38:32 gwang Exp $ */
> +/* $Id: lsapilib.c,v 1.5.2.6 2009/02/27 23:33:01 gwang Exp $ */
>
>  /*
>  Copyright (c) 2007, Lite Speed Technologies Inc.
> @@ -581,6 +581,9 @@
>  #if defined(SIGXFSZ) && defined(SIG_IGN)
>         signal(SIGXFSZ, SIG_IGN);
>  #endif
> +        /* let STDOUT function as STDERR,
> +           just in case writing to STDOUT directly */
> +        dup2( 2, 1 );
>
>         if ( LSAPI_InitRequest( &g_req, LSAPI_SOCK_FILENO ) == -1 ) {
>             return -1;
>

Shouldn't this change not be MFB to HEAD?



-- 
Kalle Sommer Nielsen
ka...@php.net

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to