Commit Graph

338 Commits

Author SHA1 Message Date
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
Stanislav Malyshev
a041ddc9d9 fix warnings 2008-07-30 17:45:18 +00:00
Scott MacVicar
19322fc782 MFH: Fix bug when command is quoted and parameters are quoted during call to exec, the result is that cmd.exe /c strips the first and last quote. 2008-05-29 11:31:02 +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
Derick Rethans
d725401987 - Fix for bug #44870: rename() on directory deletes same named file. (Patch by
Pierre)
2008-05-02 14:07:26 +00:00
Dmitry Stogov
1303c45e02 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:45:01 +00:00
Antony Dovgal
a57ce92705 MFH: fix TSRM mutex return value inconsitencies (patch by Scott MacVicar) 2008-02-07 09:06:45 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
4ab8d46ddd Fixed definitions 2007-11-23 13:38:32 +00:00
Dmitry Stogov
648fbe9d58 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:27:13 +00:00
Dmitry Stogov
947e73b385 Fixed bug #43248 (backward compatibility break in realpath()) 2007-11-13 09:47:06 +00:00
Dmitry Stogov
8e0f5bbfa2 Fixed realpath cache for existent file with CWD_FILEPATH flag on win32 2007-10-23 05:57:25 +00:00
Antony Dovgal
38b7d577a3 MFH: fix ws/cs & folding 2007-08-10 09:09:46 +00:00
Dmitry Stogov
db97db9430 Fixed bug #42027 is_file() / is_dir() matches file/dirnames with wildcard char or trailing slash 2007-07-24 09:07:33 +00:00
Dmitry Stogov
4ddde21059 Fixed rename() in ZTS to allow renaming of symbolic links;
Consistent handling of trailing slash
2007-07-23 08:57:04 +00:00
Dmitry Stogov
ca854215db Fixed symlink("", "somthing") and link("", "somthing") in ZTS mode 2007-07-10 13:21:11 +00:00
Dmitry Stogov
e99013d039 Store existent file in realpath cache 2007-07-03 14:48:01 +00:00
Dmitry Stogov
738ff1277a Fixed yet another realpath cache bug and wrong tests 2007-06-18 09:50:40 +00:00
Antony Dovgal
794ceb7bad MFH: fix lstat() function resolving symlinks 2007-05-30 10:50:47 +00:00
Rasmus Lerdorf
227fd7aa1f Remove simple optimization here for now until we clean up this SAPI/TSRM
mess.
2007-05-25 22:53:34 +00:00
Rasmus Lerdorf
7e5f0a8380 Get rid of a stray time() syscall in tsrm and clean up lcg rinit 2007-05-18 11:36:55 +00:00
Dmitry Stogov
c60eee7046 typo 2007-04-17 06:26:32 +00:00
Dmitry Stogov
e1814f0dbe WIN64 support 2007-04-16 08:09:56 +00:00
Dmitry Stogov
9f2022743b Fixed bug #41063 (chdir doesn't like root paths). 2007-04-12 15:28:58 +00:00
Antony Dovgal
eb25e82249 MFH: fix #39351 (relative include fails on Solaris) 2007-04-03 20:20:56 +00:00
Stanislav Malyshev
8f0d69159e fix for #33664 Console window appears when using exec() 2007-04-02 20:44:30 +00:00
Antony Dovgal
17d89125b2 MFH: fix shmop_open() with IPC_CREAT|IPC_EXCL flags on win32 2007-03-20 17:57:59 +00:00
Stanislav Malyshev
b415e3da5a Unfortunately, VC does not have snprintf, and sprintf_s supported only in vc2005
Fortunately, we don't need it here too badly.
2007-02-24 02:50:58 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Dmitry Stogov
d4ccfade57 Fixed bug #40560 (DIR functions do not work on root UNC path) 2007-02-21 13:09:03 +00:00
Dmitry Stogov
f49d044cee On win32 directories in the middle of the patch may be unreadable 2007-02-19 14:58:07 +00:00
Antony Dovgal
286dee8100 MFH 2007-02-15 19:11:48 +00:00
Dmitry Stogov
cb443c6e5a Fixed bug #40231 (file_exists incorrectly reports false) 2007-01-26 15:15:16 +00:00
Dmitry Stogov
dfa95b718f Fixed wrong realpath() result for unexistent files on win32 2007-01-23 17:03:48 +00:00
Dmitry Stogov
933c26de41 Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
Fixed bug #40092 (chroot() doesn't clear realpath cache)
2007-01-22 09:31:46 +00:00
Ilia Alshanetsky
a719e16f7c CS 2007-01-20 16:22:51 +00:00
Antony Dovgal
d291b4351e MFH 2007-01-19 21:00:35 +00:00
Antony Dovgal
5b4043554a MFH: free temp cwd_state struct on error 2007-01-16 14:02:19 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Dmitry Stogov
91dc80ba9a Removed dependency from SHELL32.DLL 2006-12-21 09:01:10 +00:00
Dmitry Stogov
af74c7c9d2 Added comments 2006-11-14 09:15:55 +00:00