php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35372 zif_glob unresolved
Submitted: 2005-11-24 18:49 UTC Modified: 2005-11-25 18:37 UTC
From: remi at FamilleCollet dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.0 OS: HP-UX 11.11
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: remi at FamilleCollet dot com
New email:
PHP Version: OS:

 

 [2005-11-24 18:49 UTC] remi at FamilleCollet dot com
Description:
------------
when compiling php5.1.0 (snapshot 200511230730) function zif_glob is unresolved.

On HP-UX file /usr/local/include/glob.h contains
#define glob_t rk_glob_t
#define glob rk_glob
#define globfree rk_globfree

So, in file ext/standard/dir.c (line 361)
PHP_FUNCTION(glob)
is expand to "zif_rk_glob" instead of "zif_glob".

A workaround is to use
PHP_NAMED_FUNCTION(zif_glob)

Cordialy


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-25 15:17 UTC] sniper@php.net
Is that glob.h really HPUX stock header file?
(usually such are under /usr/include, not /usr/local/include)

 [2005-11-25 17:43 UTC] remi at FamilleCollet dot com
Yes, you're right.

this glob.h is provide by "heimdal" (Free implementation of Kerberos 5) and is need by others packages of "The Porting and Archiving Center for HP-UX" as it provide "libroken".
http://hpux.connect.org.uk/hppd/hpux/Development/Tools/heimdal-0.7/
 [2005-11-25 18:37 UTC] tony2001@php.net
It works without broken third-party software -> not PHP problem.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 07:01:32 2024 UTC