PHP 4.0 Bug #9058 Updated: dir() and readdir() don't work
| From: | Brian dot Craigie at necs dot demon dot co dot uk | Date: | Fri, 02 Feb 2001 13:55:39 +0000 |
| Subject: | PHP 4.0 Bug #9058 Updated: dir() and readdir() don't work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45608@lists.php.net to get a copy of this message | ||
ID: 9058
User Update by: Brian.Craigie@necs.demon.co.uk
Status: Open
Bug Type: Directory function related
Description: dir() and readdir() don't work
Oops, a big sorry, that should be HP-UX 10.20, NOT Solaris 8 - Solaris is OK.
I updated from CVS about 3 hours ago, and tried that. It still doesn't work on HP-UX. The
compiler used is gcc 2.8.1
I'm willing to try a more recent version if that will help.
I would have tried to trace (like truss) the httpd process but I can't get a working trace on
this backward (HP-UX) O/S :-(
Thanks!
Brian
Previous Comments:
---------------------------------------------------------------------------
[2001-02-02 08:55:38] Brian.Craigie@necs.demon.co.uk
Oops, a big sorry, that should be HP-UX 10.20, NOT Solaris 8 - Solaris is OK.
I updated from CVS about 3 hours ago, and tried that. It still doesn't work on HP-UX. The
compiler used is gcc 2.8.1
I'm willing to try a more recent version if that will help.
I would have tried to trace (like truss) the httpd process but I can't get a working trace on
this backward (HP-UX) O/S :-(
Thanks!
Brian
---------------------------------------------------------------------------
[2001-02-01 20:19:05] sniper@php.net
I tried them examples in our Solaris 8 (sparc) with the latest CVS
and they worked just fine.
Could you try the latest CVS snapshot from http://snaps.php.net/
to verify if this is fixed already? And which compiler did you use to compile PHP ?
I'm using GCC 2.95.2 as we don't have that Sun Workshop CC installed
in that machine yet.
--Jani
---------------------------------------------------------------------------
[2001-02-01 16:53:09] Brian.Craigie@necs.demon.co.uk
Using the examples cut-n-pasted from the dir() and readdir() documentation, dir() they both return
nothing. They work ok in php3.
I see other entries in the bug database saying this issue was fixed in the cvs, but these are dated
before the release of the version I'm using, so I guess they became broken again or Solaris 8
is a problem.
I'll be delighted to help debug this if someone can tell me how.
Best Regards,
Brian
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9058