Commit Graph

89 Commits

Author SHA1 Message Date
Xinchen Hui
7511f972fd Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Typofix in comment in proc_open.c
2012-05-30 14:43:55 +08:00
Jille Timmermans
a331f43f8c Typofix in comment in proc_open.c 2012-05-30 14:42:39 +08:00
Felipe Pena
e4ca0ed09f - Year++ 2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281 - Year++ 2012-01-01 13:15:04 +00:00
Pierre Joye
03b39896a6 - fixed bug #60120, proc_open's streams may hang with stdin/out/err when the data exceeds or is equal to 2048 bytes 2011-10-24 12:39:55 +00:00
Pierre Joye
97076fa68e - fixed bug #60120, proc_open's streams may hang with stdin/out/err when the data exceeds or is equal to 2048 bytes 2011-10-24 12:39:55 +00:00
Pierre Joye
b7354a30cd - win9x is not supported anymore since 5.3 2011-10-24 10:53:17 +00:00
Pierre Joye
20422c2653 - win9x is not supported anymore since 5.3 2011-10-24 10:53:17 +00:00
Xinchen Hui
64fc565765 Avoiding strcpy, strcat, sprintf usage to make static analyzer happy 2011-08-09 12:16:58 +00:00
Xinchen Hui
0630945ac4 Avoiding strcpy, strcat, sprintf usage to make static analyzer happy 2011-08-09 12:16:58 +00:00
Rasmus Lerdorf
a5eeecb13f Suppress a dozen unused return value warnings in places where the return
value is really not useful to us.
2011-05-16 17:22:41 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Pierre Joye
c57bf4a4d9 - WS 2010-09-08 09:11:18 +00:00
Pierre Joye
266ff49a9a - Fix #50524, proc_open should respect cwd as it does on other platforms 2010-09-08 08:34:57 +00:00
Pierre Joye
367bd11d6f - Fix #50524, proc_open should respect cwd as it does on other platforms 2010-09-08 08:34:57 +00:00
Pierre Joye
6c08709bd6 - kill warning 2010-09-06 10:28:04 +00:00
Pierre Joye
75df1719be - kill warning 2010-09-06 10:28:04 +00:00
Pierre Joye
1cd82c9db2 - WS 2010-08-30 16:52:48 +00:00
Pierre Joye
71966d1e5a - WS 2010-08-30 16:52:48 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Felipe Pena
6bebbf1086 - Fixed bug #49095 (proc_get_status['exitcode'] fails on win32) 2009-08-03 19:05:56 +00:00
Ilia Alshanetsky
899cb30275 Fixed bug #49026 (proc_open() can bypass safe_mode_protected_env_vars
restrictions).
2009-07-26 15:14:18 +00:00
Gwynne Raskind
3832578522 revert Nuno's commit of my patch 2009-07-20 11:48:04 +00:00
Kalle Sommer Nielsen
5c1d0c3eab Fix Windows build 2009-07-20 04:31:07 +00:00
Nuno Lopes
4526eee6db Add support for proc_open()'s bypass_shell feature for Unix systems (slightly modified patch from Gwynne) 2009-07-19 14:52:27 +00:00
Pierre Joye
49666eece6 #41874, separate STDOUT and STDERR in exec functions 2009-06-09 00:25:37 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Arnaud Le Blanc
d69dfa4b9f MFH: initialize optional vars 2008-10-21 22:08:38 +00:00
Dmitry Stogov
7d26893d6d Adder error code into error message 2008-08-21 11:27:57 +00:00
Antony Dovgal
28a22396d4 MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:25:14 +00:00
Felipe Pena
fdfbfb96a1 - MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:09:24 +00:00
Jani Taskinen
04ea6d79d5 MFH:- Fixed bug #44667 (proc_open does not handle pipes with the mode "wb" correctly) 2008-04-08 08:42:24 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Nuno Lopes
b24d4ddac9 fix bug #39651: proc_open() append mode doesnt work on windows 2007-09-12 11:42:43 +00:00
Jani Taskinen
b27d339ddb MFH:- Fixed bug #41904 (proc_open with empty env array) 2007-08-17 10:42:30 +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
Ilia Alshanetsky
0763686034 strdup() can fail 2007-02-24 03:24:40 +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
Nuno Lopes
d446564786 Fixed bug #39322 (proc_terminate() destroys process resource) 2007-02-14 19:13:31 +00:00
Nuno Lopes
9cc85b6030 Fixed bug #34794 (proc_close() hangs when used with two processes) 2007-02-13 19:53:42 +00:00
Antony Dovgal
dc9e17faf3 fix #40455 (proc_open() uses wrong commandline when safe_mode_exec_dir is set) 2007-02-13 15:55:45 +00:00
Dmitry Stogov
5709b64739 Close open files in case of failure (Amit) 2007-01-09 16:27:17 +00:00
Dmitry Stogov
f694c1f1db Improved proc_open(). Now on Windows it can run external commands not through CMD.EXE 2007-01-06 09:02:02 +00:00
Nuno Lopes
8a806d186e +- Fixed bug #37619 (proc_open() closes stdin on fork() failure). 2007-01-02 15:29:09 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Nuno Lopes
169b207532 - Fixed bug #36427 (proc_open() / proc_close() leak handles on windows). 2006-12-31 15:27:13 +00:00
Nuno Lopes
877ee65622 Fixed bug #38542 (proc_get_status() returns wrong PID on windows) 2006-12-31 14:47:17 +00:00