Jani Taskinen [Wed, 13 Aug 2008 00:49:59 +0000 (00:49 +0000)]
[DOC]- Added methods to change/disable --with-config-file-scan-dir=PATH at
[DOC] startup:
[DOC]
[DOC] To disable: Override default php.ini by using both -c and -n with
[DOC] CGI/CLI or set "PHP_INI_SCAN_DIR" environment variable
[DOC] to an empty string.
[DOC]
[DOC] To change: Simply set "PHP_INI_SCAN_DIR" environment variable to point
[DOC] to another path.
- Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=/some/path)
- Implemented FR #45114 (Option to change --with-config-file-scan-dir)
Dmitry Stogov [Tue, 12 Aug 2008 08:01:44 +0000 (08:01 +0000)]
- Added system independent realpath() implementation which caches intermediate directories in realpath-cache
- Fixed bug #45044 (relative paths not resolved correctly)
- Fixed bug #43817 (opendir() fails on Windows directories with parent directory unaccessible).
[DOC] The semantic of realpath() on BSD and Windows is changed. Now it should work exactly in the same way as on Linux (POSIX.1-2001)
Marcus Boerger [Sun, 10 Aug 2008 21:52:05 +0000 (21:52 +0000)]
- Fix memleak, Zend's built-in functions get copied before we copy all
functions, thus ending up in the name and param definitions copied twice
because zend_register_funciton already copies them.
- Also Be able to deallocate Zend's built-in functions and do so when
appropriate.
- After unregistering Zend's built-in functions only dl() is left and that
seems to be fine.
Arnaud Le Blanc [Sun, 10 Aug 2008 11:54:18 +0000 (11:54 +0000)]
Do not expand $target in symlink(). This made it impossible to symlink to a
symlink. This also caused the target to be wrongly expanded relatively to
the CWD when target was not an absolute path.
Pierre Joye [Sun, 10 Aug 2008 11:27:26 +0000 (11:27 +0000)]
- [DOC] win's strftime does not support all posix formatting code and have some win specific rules see http://msdn.microsoft.com/en-us/library/fe06s4ak(VS.80).aspx for a complete list: split test for win32 and posix
Marcus Boerger [Fri, 8 Aug 2008 17:10:49 +0000 (17:10 +0000)]
- Turns out the easy solution for correct error_handling doesn't work. So
we need to provide save/replace/restore functions right away. It also
to save/restore in the vm.
Marcus Boerger [Fri, 8 Aug 2008 13:18:31 +0000 (13:18 +0000)]
- PHP 5.3 todo, store error handling mode on stack when executing internal
or overloaded functions and methods. The issue is that a function might
set and rely on a certain mode and then calls another internal function
which changes it again, probably changing it back to the normal mode.
With this change we need to drop all calls that change the mode back to
normal using php_std_error_handling(). However there might be places
where someone wants to restore the last mode. If there is such a case we
need to add two functions one to save and one to restore. I briefly on
this and not all cases are clear, especially one in sqlite but that seems
to be a rather misleading comment. Eitherway I chose to not drop and mark
as deprecated for now.
Arnaud Le Blanc [Thu, 7 Aug 2008 09:24:04 +0000 (09:24 +0000)]
Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,
Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.