PHP 4.0 Bug #8049 Updated: missing argument in readir_r function call

From: Date: Fri, 01 Dec 2000 02:20:54 +0000
Subject: PHP 4.0 Bug #8049 Updated: missing argument in readir_r function call
Groups: php.dev 
Request: Send a blank email to php-dev+get-39753@lists.php.net to get a copy of this message
ID: 8049 Updated by: sniper Reported By: xn04451@dgbank-dip.de 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@dgbank-dip.de 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

« previous php.dev (#39753) next »