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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
44 - 7 = ?
Subscribe to this entry?

 
 [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 16:01:36 2024 UTC