Re: Re: Bug in PHP-4.0.5RC6?

From: Date: Sun, 15 Apr 2001 15:15:41 +0000
Subject: Re: Re: Bug in PHP-4.0.5RC6?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-51613@lists.php.net to get a copy of this message
On Sun, 15 Apr 2001, Sascha Schumann wrote: > On Fri, 13 Apr 2001, Andi Gutmans wrote: > > > Does this work for you on 4.0.4pl1? > > Any idea when this broke? > > Andi > > The following commit broke this functionality: > > date: 2001/03/11 10:08:27; author: sasha; state: Exp; lines: +17 -1 > branches: 1.148.2; > Fixed a compatibility problem is some file functions (fgets, fputs, fread, > fwrite). The ANSI standard says that if a file is opened in read/write > mode, fseek() should be called before switching from reading to writing > and vice versa. > > Pipes are uni-directional and hence the above description > does not apply to them. A more differentiated approach is > needed to solve that issue on AIX etc. Ok, my fault - I will add test if this is a file handle and not if this is not a socket handle. How this should be solved on AIX? -- sasha > > - Sascha Experience IRCG > http://schumann.cx/ â˜À=ÇÙv7 > Ö4«)http://schumann.cx/ircg > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#51613) next »