Commit Graph

169 Commits

Author SHA1 Message Date
Pierre Joye
cd727b4e9a - remove 'UNC' from the target 2010-09-10 19:21:02 +00:00
Pierre Joye
391ff7682c - add php_sys_readlink 2010-09-10 14:01:44 +00:00
Pierre Joye
6396a3272c - add lstat support for Windows 2010-09-01 09:49:53 +00:00
Pierre Joye
3c3ddb39b4 - WS 2010-08-27 10:09:52 +00:00
Pierre Joye
a5e51efff8 - Symlink resolution fails when target is a DFS path 2010-08-26 14:23:17 +00:00
Antony Dovgal
9badd4f0fb fix bug #50101 (name clash between global and local variable) 2010-06-08 13:27:30 +00:00
Pierre Joye
3247c2595d - vc6 does not expose it 2010-02-03 16:11:56 +00:00
Pierre Joye
6d913a0272 - oops, wrong one applied, fix build. 2010-02-01 15:31:58 +00:00
Pierre Joye
f25710db92 - set errno on failure so that the caller can still rely on strerror (reporting wrong error w/o this change) 2010-02-01 15:22:31 +00:00
Pierre Joye
e130a31441 - don't go through the reparse code when we have a share or DFS path (should fix #50542) 2010-01-27 16:46:43 +00:00
Pierre Joye
84b59b8582 - little comment to avoid undesired changes in this section 2010-01-27 16:44:48 +00:00
Pierre Joye
b37f2257a4 - fix leak, win only 2010-01-27 16:43:16 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Felipe Pena
da22aa9aad - Fixed ZTS build 2009-12-08 01:51:34 +00:00
Stanislav Malyshev
7beb1af8de add realpath cache inspect functions 2009-12-08 01:35:08 +00:00
Pierre Joye
5e0f3731ac - MFH: fix realloc usage 2009-10-19 23:41:14 +00:00
Pierre Joye
0304ec7900 - Fix ACL support and add support for ACL for TS SAPI. Be sure to get the impersonated token when the impersonation has been done. Add the SID as part of the key for the cache (so each SID gets its cache and not previous requests run under other SID) 2009-10-19 23:32:07 +00:00
Pierre Joye
ada5eb95ad - Fix #48746, improve fix to support all possible cases (see latest comment in the report) 2009-09-14 18:46:56 +00:00
Pierre Joye
a8c40d5b3a - #48746, len includes null already 2009-09-02 22:59:58 +00:00
Pierre Joye
b6882eddf6 - #48746, revert previous about volume. Fix volume support to allow all mounted points (with or without drives) 2009-09-01 17:50:59 +00:00
Pierre Joye
45c58fc449 - Fix #48746, mounted volume support & resolution 2009-08-29 12:21:47 +00:00
Pierre Joye
17a4191575 - Fix for #48746, fix mounted volume and junctions when used from vista or later, they are actually prepended with \??\ 2009-08-27 09:39:01 +00:00
Pierre Joye
0c366503a6 - fix #48746, regression with file operaiton on path with junctions 2009-08-26 20:44:05 +00:00
Pierre Joye
eeb9429de5 - be sure that the directory flag is set when we save a path in the cache 2009-08-25 09:32:31 +00:00
Pierre Joye
056f0aea30 - fix #49047, touch may fail on directory 2009-08-25 09:16:53 +00:00
Pierre Joye
ebd24fc10f - sigh. that too (separate fix). 2009-08-24 20:33:36 +00:00
Pierre Joye
063196c8aa - that part was for a separate fix 2009-08-24 20:32:11 +00:00
Pierre Joye
55d26cab56 - split atime and mtime 2009-08-24 20:27:52 +00:00
Felipe Pena
44bf860516 - MFH: Fixed compiler warning 2009-07-07 00:02:34 +00:00
Pierre Joye
fa38267833 - MFH: #48771, rename() between drives error: No error 2009-07-06 08:56:23 +00:00
Pierre Joye
5f2df5d064 - WS 2009-06-26 07:39:42 +00:00
Pierre Joye
2e08b57ee6 - fix build when IO_REPARSE_TAG_SYMLINK is not defined (works with 2k+) 2009-06-16 21:54:12 +00:00
Pierre Joye
a5302d870d - #47767, include_once does not resolve windows symlinks or junctions 2009-06-16 00:13:56 +00:00
Pierre Joye
18d5751a9e - Windows ACL cache support, update existing tests and add a new one 2009-06-16 00:07:05 +00:00
Pierre Joye
99152e8f58 - nuke unused var 2009-04-04 11:37:48 +00:00
Dmitry Stogov
a928b88da9 Fixed realpath() behavior to support "c:dir" as "c:\dir", and "\dir" on UNC CWD 2009-01-21 19:07:40 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Felipe Pena
cd5d85856c - MFH: Fixed macro redefinition warning 2008-11-13 01:35:21 +00:00
Pierre Joye
5ec35396e0 - MFH: #45985, touch on opened file raises a warning 2008-09-04 08:05:27 +00:00
Dmitry Stogov
5293e7981e Fixed support for short windows file names 2008-08-19 15:00:20 +00:00
Dmitry Stogov
5ade84afe4 Fixed bug #45835 (include and symlinks) 2008-08-18 10:28:17 +00:00
Dmitry Stogov
4e1e576053 Fixed arguments order 2008-08-18 09:31:34 +00:00
Dmitry Stogov
4ccb9037cc - [DOC] make stat, touch, filemtime, filemsize and related functions more portable (almost 100% equivalent to linux now)
- [DOC] add support for touch($dir)
- fix windows server 2008/vista support (#45447) (Pierre)
2008-08-15 15:00:11 +00:00
Dmitry Stogov
b76b5a6f17 Fixed realpath cache bug 2008-08-15 13:31:58 +00:00
Dmitry Stogov
3fadad3160 - 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:24 +00:00
Dmitry Stogov
50983e372c proper fix 2008-05-20 07:41:35 +00:00
Dmitry Stogov
a125554657 Fixed win32 related realpath cache bug 2008-05-19 10:48:57 +00:00
Dmitry Stogov
1303c45e02 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:45:01 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
648fbe9d58 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:27:13 +00:00