Commit Graph

372 Commits

Author SHA1 Message Date
Pierre Joye
a4aef06b34 - fix ACL cache for read check 2009-09-19 20:54:34 +00:00
Pierre Joye
56d4d95f2d - 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
a96e9f3b94 - be sure that we use the user token by default (Christian Wenz) 2009-09-04 06:59:08 +00:00
Pierre Joye
8f59833828 - #27051, improve fix on xp/2k3 2009-09-03 19:16:17 +00:00
Pierre Joye
ebce328066 - MF53: len includes the NULL already 2009-09-03 19:11:30 +00:00
Pierre Joye
2ad1c921b7 - #27051, we need the thread token here, not the process 2009-09-02 01:59:17 +00:00
Pierre Joye
4cef4372ce - #27051, create process as impersonated user 2009-09-01 22:51:31 +00:00
Pierre Joye
fd6f91ffed - #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
61de1cbf1f - Fixed leak on error in popen/exec (and related functions) 2009-08-30 17:13:45 +00:00
Pierre Joye
acdd739c0b - Fix #48746, mounted volume support & resolution 2009-08-29 12:21:47 +00:00
Pierre Joye
f8637584d9 - 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
c3ce7094a0 - fix #48746, regression with file operaiton on path with junctions 2009-08-26 20:44:05 +00:00
Pierre Joye
cf889a37ac - fix #44683, popen crashes when an invalid mode is passed (works on 2k8/vista/win7) 2009-08-26 19:57:01 +00:00
Pierre Joye
29b238f878 - 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
94d8307363 - fix #49047, touch may fail on directory 2009-08-25 09:16:53 +00:00
Pierre Joye
52647a5848 - sigh. that too (separate fix). 2009-08-24 20:33:36 +00:00
Pierre Joye
d85f3b138d - that part was for a separate fix 2009-08-24 20:32:11 +00:00
Pierre Joye
49827f7ad8 - split atime and mtime 2009-08-24 20:27:52 +00:00
Pierre Joye
e9e5eba74b - revert fix for #43327, it breaks system&co functions 2009-08-20 09:03:19 +00:00
Pierre Joye
52d37429c6 - fixed #43327, wrong return value from mail(), if sendmail_path is wrong 2009-08-19 18:43:46 +00:00
Felipe Pena
81de4ca999 - Fixed compiler warning 2009-07-07 00:00:27 +00:00
Pierre Joye
ae10396ec7 - #48771, rename() between drives error: No error 2009-07-06 08:55:09 +00:00
Pierre Joye
74a1323b05 - MF53:
- Windows ACL cache support, update existing tests and add a new one
 - #48535,  file_exists returns false when impersonate is used
2009-06-26 07:44:57 +00:00
Pierre Joye
a9d85b668c - #41874, separate STDOUT and STDERR in exec functions 2009-06-09 14:05:44 +00:00
Hannes Magnusson
c80898d00a Fix build 2009-05-19 10:00:44 +00:00
Pierre Joye
9ef3984d71 - MFB: close manually the impersonation token 2009-05-18 20:57:24 +00:00
Pierre Joye
20ab93a3e3 - MFB: #44859, fixed support for windows ACL, drop win9x code 2009-05-17 19:51:13 +00:00
Pierre Joye
efa81a0030 - nuke unused var 2009-04-04 11:37:23 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
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
Stanislav Malyshev
6564e21433 fix warnings 2008-07-30 17:52:33 +00:00
Scott MacVicar
747dce90bc 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:30:10 +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
Derick Rethans
08bfae1d46 - More coffee required... 2008-05-02 14:16:40 +00:00
Derick Rethans
d5a323788a - MF53: fix for bug #44870: rename() on directory deletes same named file.
(Patch by Pierre)
2008-05-02 14:08:44 +00:00
Scott MacVicar
d3b7ccd366 The SDK 6.1 adds some new networking functions that cause build errors, pick Windows 2000 as the minimum version we will build for. 2008-04-28 10:02:10 +00:00
Dmitry Stogov
937b1b7ab6 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:46:10 +00:00
Scott MacVicar
c6e4f0494c Fix compiler warnings with redefinition of _WIN32_WINNT 2008-04-22 12:18:42 +00:00
Antony Dovgal
30a642cb39 sync with 5_3 2008-03-21 12:07:14 +00:00
Antony Dovgal
ade44c50e8 fix TSRM mutex return value inconsitencies (patch by Scott MacVicar) 2008-02-07 09:06:23 +00:00