Commit Graph

74 Commits

Author SHA1 Message Date
Pierre Joye
94d8307363 - fix #49047, touch may fail on directory 2009-08-25 09:16:53 +00:00
Pierre Joye
ae10396ec7 - #48771, rename() between drives error: No error 2009-07-06 08:55:09 +00:00
Pierre Joye
74a1323b05 - MF53:
- Windows ACL cache support, update existing tests and add a new one
 - #48535,  file_exists returns false when impersonate is used
2009-06-26 07:44:57 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Dmitry Stogov
b21b53810b - 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)
2008-08-12 08:01:44 +00:00
Derick Rethans
08bfae1d46 - More coffee required... 2008-05-02 14:16:40 +00:00
Derick Rethans
d5a323788a - MF53: fix for bug #44870: rename() on directory deletes same named file.
(Patch by Pierre)
2008-05-02 14:08:44 +00:00
Dmitry Stogov
937b1b7ab6 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:46:10 +00:00
Dmitry Stogov
42a683d688 Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:56:22 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
7d1110a3fb Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
Fixed bug #40092 (chroot() doesn't clear realpath cache)
2007-01-22 09:32:55 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Dmitry Stogov
b15c6f06a1 Added comments 2006-11-14 09:16:10 +00:00
Dmitry Stogov
331aa940ed Use symbolic names 2006-11-13 15:13:36 +00:00
Dmitry Stogov
693346e4a6 stat() is reimplemented using using GetFileAttributesEx().
The new implementation is faster then implementation in MS VC CRT, but it doesn't support Windows 95.
2006-11-10 15:04:19 +00:00
Dmitry Stogov
5fe6480710 VCWD_REALPATH() is improved to use realpath cache without VIRTUAL_DIR 2006-11-10 12:59:41 +00:00
Antony Dovgal
49472b31d2 minor AIX fix 2006-10-04 13:24:06 +00:00
Dmitry Stogov
9a06a517d6 Fixed VIRTUAL_DIR inconsistency 2006-09-04 08:18:35 +00:00
Andrei Zmievski
2d6848d426 Add Unicode constants for default slash and directory separator. 2006-08-04 17:29:15 +00:00
Andrei Zmievski
050f22bf0b Add IS_U_SLASH_* macros to test for path separator chars. 2006-08-03 23:56:46 +00:00
foobar
a6a3c9059d - Fixed bug #36909 (ld: Undefined symbols: _lchown) 2006-04-10 11:56:04 +00:00
Antony Dovgal
73610b76a9 move function definition from .h to .c, where it should be 2006-02-08 20:49:40 +00:00
Dmitry Stogov
7e5b53c2b3 Fixed bug #36016 (realpath cache memleaks) 2006-01-16 09:17:50 +00:00
Derick Rethans
223aa7294d - Added the lchown() and lchgrp() functions which change permissions and group
permissions on symbolic links.
#- We'll also add this to PHP 5.1.3? or PHP 5.2, so I didn't add it to NEWS.
2006-01-04 12:22:23 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
b711486feb Bump up year 2005-08-03 13:28:14 +00:00
Anantha Kesari H Y
8b3becf06c Reverting the DEFAULT_SLASH to / as it breaks the FreeBSD derived function of NetWare LibC like glob.
-- Kamesh
2005-07-07 07:12:44 +00:00
Anantha Kesari H Y
e61dfb0213 COPY_WHEN_ABSOLUTE is not needed for NetWare.
-- Kamesh
2005-07-07 06:52:44 +00:00
Anantha Kesari H Y
91b48c2a89 NetWare LibC has lstat implementation 2005-02-21 10:13:07 +00:00
Anantha Kesari H Y
b140c80396 removed redundant CLIB_STAT_PATCH checks. defined the IS_ABSOLUTE_PATH macros to suit the NetWare filesystem convention 2004-10-08 09:48:20 +00:00
Andi Gutmans
216853c0db - Apply realpath() cache patch. We don't use it if we're in safe_mode and
- friends (which are quite slow anyway).
- If it proves to be stable I'll remove the #ifdef's in a few weeks.
2004-10-05 00:42:25 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Ilia Alshanetsky
e010d8ac9b Revert patch r1.40, bug is in glob() not IS_ABSOLUTE_PATH() 2003-09-20 02:06:42 +00:00
Ilia Alshanetsky
142c325f23 Fixed bug #25583 (Incorrect handling of absolute path without drive). 2003-09-20 01:39:55 +00:00
Ilia Alshanetsky
63fcd301e9 Fixed bug #21958 (workaround for unusual realpath() on AIX & Tru64). 2003-08-07 15:32:18 +00:00
Sebastian Bergmann
60ffd0ea5d Restore HEAD of TSRM to what it was two days ago. 2003-06-25 05:05:06 +00:00
James Cox
76f85107e2 bring head into sync with the php4 branch 2003-06-23 01:27:13 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
foobar
8a316d5f69 VCWD_LSTAT is not available on win32/netware 2003-02-20 06:16:37 +00:00
Shane Caraveo
5048f8c60e is_executable() now available on win32
stats can now get information provided by access()
2003-02-09 03:49:43 +00:00
Anantha Kesari H Y
455257974b NetWare related changes/modifications. 2003-01-02 14:29:00 +00:00
Sebastian Bergmann
2c5d4b8c23 Bump year. 2002-12-31 15:59:15 +00:00
Andi Gutmans
a58e6cc8ad - Add comment in macro and remove some now unneeded code 2002-12-20 08:42:50 +00:00
Ilia Alshanetsky
709681e085 Make IS_ABSOLUTE_PATH use the IS_UNC_PATH macro rather then duplicate the
code in the IS_UNC_PATH macro.
2002-12-20 00:41:41 +00:00
Anantha Kesari H Y
e46b0bfa79 Netware related changes/modifications. 2002-12-19 11:12:04 +00:00
Ilia Alshanetsky
9a24983487 On Win32 make PHP treat UNC paths as absolute paths, this should solve bugs
such as #20831. Thanks to Wez Furlong for isolating the problem.
2002-12-11 00:32:33 +00:00
Ilia Alshanetsky
f0e2c04582 Revert of previous patch ad requested by Andi. 2002-11-15 16:36:55 +00:00
Ilia Alshanetsky
8bfe7d76ea Fix bug 19689, solution suggested by dmitry@koteroff.ru. 2002-11-14 13:45:08 +00:00
Ilia Alshanetsky
78e2e69b23 Instead of checking whether realpath exists based on OS. Use the
HAVE_REALPATH define, which is set if realpath() is avaliable. This patch
also resolves bug #18868.
2002-11-06 18:07:23 +00:00