Re: Update on the lexer-no-stdio patch
| From: | Derick Rethans | Date: | Tue, 06 May 2003 08:55:20 +0000 |
| Subject: | Re: Update on the lexer-no-stdio patch | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1286@lists.php.net to get a copy of this message | ||
On Tue, 6 May 2003, Zeev Suraski wrote:
> 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.
Or try something like this:
fd = open(...) // file op
send(fd, ...) // socket op
Windows doesn't like that either, and it's not even complex ;-)
Derick
--
"my other box is your windows PC"
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------