From:             remi at FamilleCollet dot com
Operating system: HP-UX 11.11
PHP version:      5.1.0
PHP Bug Type:     Compile Failure
Bug description:  zif_glob unresolved

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 bug report at http://bugs.php.net/?id=35372&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35372&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35372&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35372&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35372&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35372&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35372&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35372&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35372&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35372&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35372&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35372&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35372&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35372&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35372&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35372&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35372&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35372&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35372&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35372&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35372&r=mysqlcfg

Reply via email to