Re: Windows SAPI possible binary file operation bug and possible fix

From: Date: Wed, 15 Nov 2006 17:10:04 +0000
Subject: Re: Windows SAPI possible binary file operation bug and possible fix
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-26608@lists.php.net to get a copy of this message
On 11/15/06, Pierre <pierre.php@gmail.com> wrote:
_fmode is global per process. We should set the mode of stdin/out: _setmode( _fileno( stdin ), _O_BINARY ); If we need it and if it is already opened when we init the SAPI, but someone has to verify this point.
I just checked it, we do set the mode for stderr, in and out. --Pierre

« previous php.internals (#26608) next »