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
Antony Dovgal
acb6ad8e46
fix #38276 (file_exists() works incorrectly with long filenames on Windows)
...
aka "Ilia forgot to MFB fix for #31347 "
2006-08-03 14:16:56 +00:00
Antony Dovgal
73610b76a9
move function definition from .h to .c, where it should be
2006-02-08 20:49:40 +00:00
Antony Dovgal
c888a7f8af
init variables (continue making GCC happy)
2006-02-06 20:36:51 +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
5e40ff6d1e
fix mkdir() function properly (patch by nlopess)
2005-12-23 18:56:28 +00:00
Edin Kadribasic
89bf9c3906
Back out a portion of the previous patch which broke win32 file functions
2005-12-22 21:32:56 +00:00
Ilia Alshanetsky
ec58b74d7f
MFB51: Fixed bug #31347 (is_dir and is_file (incorrectly) return true for any
...
string greater then 255 characters).
2005-12-20 14:27:04 +00:00
foobar
b711486feb
Bump up year
2005-08-03 13:28:14 +00:00
Anantha Kesari H Y
958803655e
gwtcwd of NetWare LibC gives a cwd with a volume information.
...
So using getcwdpath which gives with volume information.
getcwdpath gives with directory seperator as \ which is against our DEFAULT_SLASH of /. So finding and replacing \ with /
-- Kamesh
2005-07-07 07:10:50 +00:00
Rasmus Lerdorf
86994c3357
Add a comment to remind me to have a look at this at some point.
2005-02-27 18:45:07 +00:00
Anantha Kesari H Y
3b4d482055
NetWare LibC has a lstat implementation
2005-02-21 09:56:28 +00:00