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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Sat May 18 17:01:33 2024 UTC