PHP 4.0 Bug #9469: HAVE_REALPATH not being checked
| From: | amra at us dot ibm dot com | Date: | Mon, 26 Feb 2001 19:41:15 +0000 |
| Subject: | PHP 4.0 Bug #9469: HAVE_REALPATH not being checked | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47578@lists.php.net to get a copy of this message | ||
From: amra@us.ibm.com
Operating system: OS400
PHP version: 4.0.4pl1
PHP Bug Type: Compile Failure
Bug description: HAVE_REALPATH not being checked
Get a compile error in ex/standard/basic_functions.c because realpath() is not available.
The current code does not check for HAVE_REALPATH...here is the current code:
#if (!defined(PHP_WIN32) && !defined(__BEOS__)) || defined(ZTS)
PHP_FE(realpath, NULL)
#else
PHP_FALIAS(realpath,warn_not_available,NULL)
#endif
HAVE_REALPATH should be checked.
--
Edit Bug report at: http://bugs.php.net/?id=9469&edit=1