Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1284 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88231 invoked from network); 6 May 2003 07:55:58 -0000 Received: from unknown (HELO bela.bezeqint.net) (192.115.106.24) by pb1.pair.com with SMTP; 6 May 2003 07:55:58 -0000 Received: from mr2.bezeqint.net (pip-15.bezeqint.net [192.115.106.15]) by bela.bezeqint.net (Bezeq International SMTP out Mail Server) with ESMTP id 6031833FEE for ; Tue, 6 May 2003 10:53:24 +0300 (IDT) Received: from mail.zend.com (bzq-117-235-230.cust.bezeqint.net [192.117.235.230]) by mr2.bezeqint.net (Mirapoint Messaging Server MOS 3.3.3-GR) with SMTP id AYF07718; Tue, 6 May 2003 10:55:52 +0300 (IDT) Received: (qmail 26777 invoked from network); 6 May 2003 07:55:51 -0000 Received: from localhost (HELO zeev-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 6 May 2003 07:55:51 -0000 Reply-To: zeev@zend.com Message-ID: <5.1.0.14.2.20030506105215.04555c30@localhost> X-Sender: zeev@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 06 May 2003 10:55:50 +0300 To: Sascha Schumann Cc: internals@lists.php.net In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Update on the lexer-no-stdio patch From: zeev@zend.com (Zeev Suraski) References: 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