PHP 4.0 Bug #8049: missing argument in readir_r function call
| From: | xn04451 at dgbank-dip dot de | Date: | Thu, 30 Nov 2000 12:25:08 +0000 |
| Subject: | PHP 4.0 Bug #8049: missing argument in readir_r function call | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39689@lists.php.net to get a copy of this message | ||
From: xn04451@dgbank-dip.de
Operating system: Solaris 2.6
PHP version: 4.0.3pl1
PHP Bug Type: Compile Failure
Bug description: missing argument in readir_r function call
Hi,
my system is :
Solaris 2.6 on Sparc-Ultra 10
Installation :
apache 1.3.14
php4.0.3pl1
with mysql and gd
i got the error that in
reentrancy.c line 106 # ret = readdir_r(dirp, entry); located in php-4.0.3pl1/main and compiling
aborted
2 arguments are passed to readdir_r, but 3 are exprected
i fixed it the following way
ret = readdir_r(dirp, entry, &result);
Compiling problems dissapeared.
Maybe that solution is not 100% correct, but if you could take a look at it, it would be very nice
if you could tell, if i can leave it hat way.
--
Edit Bug report at: http://bugs.php.net/?id=8049&edit=1