Re: Update on the lexer-no-stdio patch

From: Date: Tue, 06 May 2003 08:47:04 +0000
Subject: Re: Update on the lexer-no-stdio patch
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-1285@lists.php.net to get a copy of this message
Our intention is not to use any things like fdopen(), fopen() because this two commands do not work correctly under solaris. We want pure POSIX. At 10:55 06.05.2003 +0300, you wrote:
At 01:36 06/05/2003, Sascha Schumann wrote:
    Hi there,
    the patch[1] which eliminates use of stdio in the script
    lexer has been successfully running on php.net for half a day
    now.
    I'd still love to hear from Win32 experts whether there is a
    specific reason why Win32 could not simply use POSIX IO
    (open(), read()) instead of stdio on that platform.
The problem with POSIX IO under Windows is generally that it's a bit of a 'bastard child'. It works, but it shows some anomalies in certain situations. I *think* that if we limit ourselves to just simple read()'s, we should do fine. The problem start pouring in when you try some more complex stuff like fdopen(), use sockets, etc. You mentioned that URL includes are not working to begin with - did you refer to Solaris specifically or are they broken altogether? If they're broken altogether it sounds like a pretty nasty bug, doesn't it, Jani..? Zeev -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
----- Uwe Schindler Addr 1: Bamberger Str. 24a, D-96049 Bamberg Addr 2: Drausnickstr. 153, D-91052 Erlangen http://www.thetaphi.de - http:///www.schindlers-software.de eMails: uwe@thetaphi.de (private); info@schindlers-software.de (company) Tel./Fax: +49 700 PCLATEIN (+49 700 72528346) Schindlers Software - Home of Schindlers PC-LATEIN 3.10 DIE Software zum Lateinlernen!

« previous php.internals (#1285) next »