/ext/ftp and other win95/98 issues
| From: | marc | Date: | Sun, 10 Feb 2002 17:50:13 +0000 |
| Subject: | /ext/ftp and other win95/98 issues | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79904@lists.php.net to get a copy of this message | ||
[ext/ftp]
> > > I just left it with the new sizeof, but there may be side-effects?
> > It's okay as long as you don't have IPv6, 95/98 doesn't.
> I've now committed a proper fix with no side-effects... There
> might be other similar issues on 95/98 that I'm not aware of.
The patch looks good, I'll test it too, monday. I don't expect any
trouble :)
[other win95/98/me issues]
The other issue I ran across has nothing to do with IPv6, but with
starting another aplication using backticks or similar methods: this
works ok when it is a 32-bit console app, but hangs when it starts a
16-bit app...
There is a simple fix, even though it is not pretty: create a 32-bit
stub application that calls the 16-bit app, and call the stub from php.
I know it has something to do with redirecting stdin and out, but I
don't know how to fix it. I have tried some alternative techniques, like
using
command /c and writing my own 'execute' function with
windows-calls like CreateProcess and such, but the problem is
persistent. My own execute-function did have the added benefit of being
able to hide the console-window that starts the process, so I kept it
:-)
BTW, this is not a problem unique to PHP, other applications may
experience the same problem. In fact, the stub-solution came from the MS
site (Q150956)....
This was posted mainly for the archives, but I added a note to the
documentation as well.
Cheerio, Marc.