Commit Graph

133 Commits

Author SHA1 Message Date
Dmitry Stogov
494f56c870 Fixed realpath() behavior to support "c:dir" as "c:\dir", and "\dir" on UNC CWD 2009-01-21 19:11:50 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena
03d10e4f30 - Fixed macro redefinition warning 2008-11-13 01:34:57 +00:00
Pierre Joye
c0c6854c50 - #45985, touch on opened file raises a warning 2008-09-04 08:03:31 +00:00
Dmitry Stogov
bc9540c564 Fixed support for short windows file names 2008-08-19 15:00:38 +00:00
Dmitry Stogov
6552f469e5 Fixed bug #45835 (include and symlinks) 2008-08-18 10:28:00 +00:00
Dmitry Stogov
6f6298e21c Fixed argumets order 2008-08-18 09:32:02 +00:00
Dmitry Stogov
34f9e9ca1b - [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 14:59:48 +00:00
Dmitry Stogov
bdc6da4157 Fixed realpath cache bug 2008-08-15 13:31:41 +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
Dmitry Stogov
9e513ac9f3 proper fix 2008-05-20 07:41:48 +00:00
Dmitry Stogov
140669030b Fixed win32 related realpath cache bug 2008-05-19 10:48:45 +00:00
Dmitry Stogov
937b1b7ab6 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:46:10 +00:00
Antony Dovgal
30a642cb39 sync with 5_3 2008-03-21 12:07:14 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
47dc82ecb9 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:33:53 +00:00
Dmitry Stogov
bc939dce43 Fixed bug #43248 (backward compatibility break in realpath()) 2007-11-13 09:47:19 +00:00
Dmitry Stogov
cb610d48ac Fixed realpath cache for existent file with CWD_FILEPATH flag on win32 2007-10-23 05:57:13 +00:00
Antony Dovgal
e685f6f0cc fix ws/cs & folding 2007-08-10 09:06:52 +00:00
Dmitry Stogov
46f26a1aac Fixed bug #42027 is_file() / is_dir() matches file/dirnames with wildcard char or trailing slash 2007-07-24 09:07:50 +00:00
Dmitry Stogov
a53d148b7e Fixed rename() in ZTS to allow renaming of symbolic links;
Consistent handling of trailing slash
2007-07-23 08:57:20 +00:00
Dmitry Stogov
1f8c608320 Fixed symlink("", "somthing") and link("", "somthing") in ZTS mode 2007-07-10 13:21:31 +00:00
Dmitry Stogov
4d159caf3f Store existent file in realpath cache 2007-07-03 14:48:37 +00:00
Dmitry Stogov
48012d80e1 Fixed yet another realpath cache bug and wrong tests 2007-06-18 09:51:03 +00:00
Antony Dovgal
bf01f6afee fix lstat() function resolving symlinks
patch by Scott MacVicar
2007-05-30 10:50:45 +00:00
Ilia Alshanetsky
373ae24839 MFB 2007-05-28 23:52:13 +00:00
Rasmus Lerdorf
5e84cb97a0 MFB syscall optimizations
# boredom on the plane to China...
2007-05-18 12:15:01 +00:00
Dmitry Stogov
c878774f2e Fixed bug #41063 (chdir doesn't like root paths). 2007-04-12 15:29:10 +00:00
Antony Dovgal
28b425fffa fix #39351 (relative include fails on Solaris) 2007-04-03 20:19:47 +00:00
Dmitry Stogov
53925c02ac Fixed bug #40560 (DIR functions do not work on root UNC path) 2007-02-21 13:09:15 +00:00
Dmitry Stogov
1c00069571 On win32 directories in the middle of the patch may be unreadable 2007-02-19 14:59:03 +00:00
Dmitry Stogov
dd5dff82de Fixed bug #40231 (file_exists incorrectly reports false) 2007-01-26 15:15:32 +00:00
Dmitry Stogov
4fbcbccf4f Fixed wrong realpath() result for unexistent files on win32 2007-01-23 17:03:59 +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
Antony Dovgal
ce5638c2e0 improve readability and use constant instead of its value 2007-01-19 21:00:24 +00:00
Antony Dovgal
43ebdc6130 free temporary cwd_state struct on error 2007-01-16 14:01:51 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Dmitry Stogov
5db2a12cf8 emoved dependency from SHELL32.DLL 2006-12-21 09:04:58 +00:00
Dmitry Stogov
331aa940ed Use symbolic names 2006-11-13 15:13:36 +00:00
Dmitry Stogov
67a100a104 Fixed wrong realpath() result in case of unexistent path 2006-11-10 17:24:11 +00:00
Dmitry Stogov
505f61c7bc Revert wrong path 2006-11-10 16:59:34 +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
1b25aeb2fa fix #39060 (virtual_file_ex() is broken on *BSD) 2006-10-06 14:01:55 +00:00
Dmitry Stogov
f59d217489 Fixed bug #38989 (Absolute path with slash at beginning doesn't work on win) 2006-10-05 08:04:51 +00:00
Antony Dovgal
49472b31d2 minor AIX fix 2006-10-04 13:24:06 +00:00
Ilia Alshanetsky
04018d6c68 MFB: Added handling for virtual_file_ex() failures. 2006-09-28 15:48:52 +00:00
Dmitry Stogov
2197f8b970 Fixed bug #38579 (include_once() may include the same file twice) 2006-09-20 07:36:21 +00:00
Antony Dovgal
ead46d043f yet another appempt to fix Windows bug
thanks Rob for the patch
2006-08-05 13:17:32 +00:00
Antony Dovgal
6f723d90bf revert previous patch, it's wrong 2006-08-04 20:54:44 +00:00