hi Tony,
I would rather do something like:
#if PHP_API_VERSION < 20100412
# define PHP_OPENBASEDIR_CHECKPATH(filename) \
(PG(safe_mode) && (!php_checkuid(filename, NULL,
CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(filename
TSRMLS_CC)
#else
#define PHP_OPENBASEDIR_CHECKPATH(fi
tony2001 Wed, 28 Apr 2010 10:36:33 +
Revision: http://svn.php.net/viewvc?view=revision&revision=298696
Log:
add the constant back. quite a lot of code uses it.
Changed paths:
U php/php-src/trunk/main/php_streams.h
Modified: php/php-src/trunk/main/php_st
cellog Fri, 31 Jul 2009 23:44:52 +
Revision: http://svn.php.net/viewvc?view=revision&revision=286603
Log:
fix segfault when running run-tests.php, and general potential for corruption
by calling php_stream_path_encode for unicode strings,
php_stream_path_pa