php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9469 HAVE_REALPATH not being checked
Submitted: 2001-02-26 14:41 UTC Modified: 2001-10-23 07:15 UTC
From: amra at us dot ibm dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: OS400
Private report: No CVE-ID:
 [2001-02-26 14:41 UTC] amra at us dot ibm dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-26 17:52 UTC] amra at us dot ibm dot com
In addition, TSRM/tsrm_virtual_cwd.c uses realpath without checking HAVE_REALPATH.
 [2001-03-09 12:41 UTC] amra at us dot ibm dot com
Just wondering what the status of this is...
 [2001-06-17 05:23 UTC] jmoore@php.net
Ill look into it. 

Amra, you seem to report a lot of bugs on both IRIX and OS400, one of the problems we have is getting access to some of the less common machines to test fixes etc, especially with IRIX and OS400 machines.

Do IBM have any test machines we could possibly get accounts on for testing fixes, this would be a great help if it is possible and would allow us to fix bugs quicker as what generally happens now is people see its OS400 or IRIX and ignore them as we dont have machines to test fixes on.

- James 
 [2001-10-23 07:15 UTC] sniper@php.net
fixed in CVS on the PHP part.
TSRM will be fixed soon too.

--Jani

 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Fri Apr 18 00:01:21 2014 UTC