#35372 [Opn->Fbk]: zif_glob unresolved

From: Date: Fri, 25 Nov 2005 14:17:38 +0000
Subject: #35372 [Opn->Fbk]: zif_glob unresolved
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88976@lists.php.net to get a copy of this message
 ID:               35372
 Updated by:       sniper@php.net
 Reported By:      remi at FamilleCollet dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: HP-UX 11.11
 PHP Version:      5.1.0
 New Comment:

Is that glob.h really HPUX stock header file?
(usually such are under /usr/include, not /usr/local/include)



Previous Comments:
------------------------------------------------------------------------

[2005-11-24 18:49:13] 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



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35372&edit=1


Thread (4 messages)

« previous php.bugs (#88976) next »