php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7967 Reentrancy.c fails to compile
Submitted: 2000-11-25 09:33 UTC Modified: 2000-12-30 19:45 UTC
From: marty at maui dot co dot uk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: Solaris 8 Sparc 10/00
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: marty at maui dot co dot uk
New email:
PHP Version: OS:

 

 [2000-11-25 09:33 UTC] marty at maui dot co dot uk
Sun Ultra1, Solaris 8 hw 10/00, Sun Workshop 5 compiler

reentrancy.c fails to compile due to a missing parameter
in the call to readdir_r

Patch supplied.

*** reentrancy.c.orig   Sat Nov 25 14:26:49 2000
--- reentrancy.c        Sat Nov 25 14:27:16 2000
***************
*** 103,109 ****
        
        errno = 0;
  
!       ret = readdir_r(dirp, entry);
        
        if (ret == 0)
                *result = entry;
--- 103,109 ----
        
        errno = 0;
  
!       ret = readdir_r(dirp, entry, result);
        
        if (ret == 0)
                *result = entry;

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-25 10:16 UTC] sniper@php.net
Please try latest snapshot from http://snaps.php.net/
as this should be fixed already.

--Jani
 [2000-12-30 19:45 UTC] sniper@php.net
This is fixed. Try PHP 4.0.4 and reopen if problem still exists.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Oct 09 01:00:01 2026 UTC