[PHP-DEV] PHP 4.0 Bug #8049 Updated: missing argument in readir_r function call From: sniper <email protected>
Date: 11/30/00

ID: 8049
Updated by: sniper
Reported By: xn04451 <email protected>
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:

This is already fixed in CVS.
Please try latest snapshot from http://snaps.php.net/

--Jani

Previous Comments:
---------------------------------------------------------------------------

[2000-11-30 07:25:08] xn04451 <email protected>
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.

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=8049

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>