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.
[1] http://www.php.net/~sas/patch-lexer-no-stdio
Thanks
- Sascha
I applied the patch about an hour ago to an iPlanet server. We'll see how it fares over next couple of days. It doesn't get much traffic, so I'll probably run some ab tests tomorrow...
J
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. [1] http://www.php.net/~sas/patch-lexer-no-stdio Thanks - Sascha
The patch now runs 5 days on my heavy loaded iPlanet Server without sfio and no problems occur.
At 18:46 05.05.2003 -0400, you wrote:
Quoted text · 5 lines
I applied the patch about an hour ago to an iPlanet server. We'll see how it fares over next couple of days. It doesn't get much traffic, so I'll probably run some ab tests tomorrow...
J
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. [1] http://www.php.net/~sas/patch-lexer-no-stdio Thanks - Sascha--
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!
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
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:
Quoted text · 6 lines
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
--
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!