Commit Graph

60 Commits

Author SHA1 Message Date
Pierre Joye
3111aa2638 - ws 2010-01-25 09:01:22 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Pierre Joye
26e3082abc - fix lenght for alloc and cpy (Kanwal) 2009-11-03 10:48:12 +00:00
Pierre Joye
0304ec7900 - Fix ACL support and add support for ACL for TS SAPI. Be sure to get the impersonated token when the impersonation has been done. Add the SID as part of the key for the cache (so each SID gets its cache and not previous requests run under other SID) 2009-10-19 23:32:07 +00:00
Pierre Joye
6711276b3c - fix ACL cache for read check 2009-09-19 20:54:34 +00:00
Pierre Joye
542c087a86 - be sure that we use the user token by default (Christian Wenz) 2009-09-04 06:59:08 +00:00
Pierre Joye
511c923785 - #27051, improve fix on xp/2k3 2009-09-03 19:16:50 +00:00
Pierre Joye
da9aee9703 - #27051, we need the thread token here, not the process 2009-09-02 01:59:17 +00:00
Pierre Joye
ddab8be51e - #27051, create process as impersonated user 2009-09-01 22:51:31 +00:00
Pierre Joye
ceb607af13 - Fixed leak on error in popen/exec (and related functions) 2009-08-30 17:13:45 +00:00
Pierre Joye
bae3df7505 - 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
056f0aea30 - fix #49047, touch may fail on directory 2009-08-25 09:16:53 +00:00
Pierre Joye
05f86b6edb - revert fix for #43327, it breaks system&co functions 2009-08-20 09:03:19 +00:00
Pierre Joye
b64e5e6bd0 - fixed #43327, wrong return value from mail(), if sendmail_path is wrong 2009-08-19 18:43:46 +00:00
Pierre Joye
18d5751a9e - Windows ACL cache support, update existing tests and add a new one 2009-06-16 00:07:05 +00:00
Pierre Joye
60223d6a6d - #48535, file_exists returns false when impersonate is used 2009-06-15 15:01:01 +00:00
Pierre Joye
64934cf360 - missing include 2009-06-09 09:25:18 +00:00
Pierre Joye
49666eece6 #41874, separate STDOUT and STDERR in exec functions 2009-06-09 00:25:37 +00:00
Hannes Magnusson
45b2586666 Fix build 2009-05-19 10:00:12 +00:00
Pierre Joye
aedaf1aea9 - close manually the impersonation token 2009-05-18 20:56:46 +00:00
Pierre Joye
10ace3fe97 - #44859, fixed support for windows ACL, drop win9x code 2009-05-17 19:44:27 +00:00
Pierre Joye
59a6d8d5a2 - WS 2009-05-15 17:48:34 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +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
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
e1814f0dbe WIN64 support 2007-04-16 08:09: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
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
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
b711486feb Bump up year 2005-08-03 13:28:14 +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
42ed91f94c Fix bug #26692; Could not find GetLongPathNameA under NT4.
This fix relies on you having the Platform SDK headers.
Using the new build system, the NewAPIs.h header will be detected
automatically, however, for people building using .dsp files,
you will need to add /DHAVE_NEWAPIS_H=1 to the TSRM project
if you have those newer headers.
2003-12-22 15:01:05 +00:00
Andi Gutmans
16002532b7 - Fix indentation 2003-12-01 20:18:55 +00:00
Stanislav Malyshev
1a773f17d3 MF4: add realpath function for win32 2003-09-30 09:48:53 +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
Zeev Suraski
fb607799cc More Win32 build improvements 2003-02-17 13:27:15 +00:00
Derick Rethans
f35f5f56c4 - Whitespace fixes 2003-02-09 12:15:05 +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
Sebastian Bergmann
2c5d4b8c23 Bump year. 2002-12-31 15:59:15 +00:00
Shane Caraveo
1f0523c85a windows is smart enough to provide a way to set cwd for new processes. 2002-10-29 07:32:52 +00:00
Harald Radi
99c90db11a make win32 debug output more verbose 2002-08-07 14:47:42 +00:00
Sebastian Bergmann
d863d52a5d Update headers. 2001-12-11 15:16:21 +00:00
Daniel Beulshausen
a118a1e7b0 fix buffer size 2001-08-07 13:29:51 +00:00