PHP 4.0 Bug #9172: fopen-wrapper does not work
| From: | corwin at uni-bremen dot de | Date: | Thu, 08 Feb 2001 11:55:53 +0000 |
| Subject: | PHP 4.0 Bug #9172: fopen-wrapper does not work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-46018@lists.php.net to get a copy of this message | ||
From: corwin@uni-bremen.de
Operating system: AIX 4.3.1
PHP version: 4.0.4pl1
PHP Bug Type: Filesystem function related
Bug description: fopen-wrapper does not work
Under AIX, php_hostconnect() in network.c fails, causing require("some_url") to
fail. The reason is that (*sal)->sa_family is 0, which causes the socket-opening
to fail.
As a workaround I included a (*sal)->sa_family = AF_INET right before the
call of socket().
--
Edit Bug report at: http://bugs.php.net/?id=9172&edit=1