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
Stefan Esser
f8787a67ed
finally use what we calculated
2005-01-15 18:19:49 +00:00
Dmitry Stogov
0854cad7a2
Unnecesary check was removed
2005-01-08 13:53:45 +00:00
Stefan Esser
1a319ae1ac
Fixed: virtual_popen in ZTS mode
2004-12-02 01:04:23 +00:00
Stefan Esser
b08147d46a
Partly reverted because of problems with some realpath() implementations
2004-12-02 00:44:07 +00:00
Stefan Esser
6076a4a66c
Fixed behaviour of TSRM in case of realpath() failure
2004-12-01 22:56:05 +00:00
Anantha Kesari H Y
a980f7babe
removed redundant NEW_LIBC checks and added the code to recognize the file naming convention in NetWare(supports Windows based drive names like sys: data: and unix like / (sys: being root)
2004-10-08 08:59:11 +00:00
Ilia Alshanetsky
1594170f85
Fixed compiler warning.
2004-10-06 23:56:29 +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
Ilia Alshanetsky
f677b6032a
Fixed define.
2004-03-09 14:56:34 +00:00
Ilia Alshanetsky
d196309341
Fixed bug #27338 (memory leak inside tsrm_virtual_cwd.c on win32).
2004-03-09 14:50:11 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Wez Furlong
f936f2983d
It seems that making the NewAPIs.h header globally visible causes
...
problems when compiling the com_dotnet extension, so I'm moving
it to be visible only to the VCWD code.
Thanks Frank :-)
2003-12-22 22:30:50 +00:00
Wez Furlong
c976456071
fix uninitialized variable
2003-12-05 13:39:24 +00:00
Sebastian Bergmann
ef9dfc00ff
Fix for the problem I posted to internals@.
2003-12-05 11:32:24 +00:00
Wez Furlong
9a1ddeae65
Fix Andi's GetLongPathName code so that virtual_file_ex doesn't
...
fail if the file does not exist.
2003-12-04 17:02:09 +00:00
Andi Gutmans
5620f21dd5
- Uncomment my code which improves Windows behavior of TSRM file paths.
...
- This will now not work on Windows 95 anymore.
2003-12-02 21:12:17 +00:00
Andi Gutmans
db38966aba
- Don't fix include_once() case sensitivity problem for beta 2.
...
- I suggest discussing to stop supporting win95 and NT 4 in our binary
- distributions and change the code to #ifdef.
2003-10-30 09:58:17 +00:00
Andi Gutmans
78cb1bfe67
- This should work.
2003-10-29 21:33:05 +00:00
Andi Gutmans
1428850762
- Allow for case-insensitivity of include_once()/require_once() on
...
- Windows
2003-10-29 21:14:17 +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
Sascha Schumann
4d361edd91
cleanup macros
2003-06-04 00:01:21 +00:00
Wez Furlong
cfd0466389
Fix for Bug #21310 , based on a patch by jflemer@php.net.
2003-03-17 13:40:45 +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