Commit Graph

72 Commits

Author SHA1 Message Date
Felipe Pena
f44f3a31cd - Fixed bug #49095 (proc_get_status['exitcode'] fails on win32) 2009-08-03 19:05:56 +00:00
Kalle Sommer Nielsen
6e3185b0fb Fix Windows build 2009-07-20 04:30:38 +00:00
Nuno Lopes
bb3a4a2bf8 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
251b711eac - MFB: #41874, separate STDOUT and STDERR in exec functions 2009-06-09 14:07:06 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Arnaud Le Blanc
5ef7ecafc1 initialize optional vars 2008-10-21 22:06:49 +00:00
Dmitry Stogov
6905205ad1 Adder error code into error message 2008-08-21 11:28:09 +00:00
Antony Dovgal
55fecd6593 invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:24:35 +00:00
Felipe Pena
f76da1b96c - Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:06:17 +00:00
Jani Taskinen
30d057d32c - Fixed bug #44667 (proc_open does not handle pipes with the mode "wb" correctly) 2008-04-08 08:42:05 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Nuno Lopes
08e3aa71a4 MFB: fix #39651 2007-09-12 11:46:08 +00:00
Jani Taskinen
8c43fddada - Fixed bug #41904 (proc_open with empty env array) 2007-08-17 10:42:12 +00:00
Ilia Alshanetsky
66526cee92 MFB 2007-05-28 23:00:25 +00:00
Dmitry Stogov
2908322c14 WIN64 support 2007-04-16 09:43:53 +00:00
Stanislav Malyshev
7ef06296b3 fix for #33664 Console window appears when using exec() 2007-04-02 20:48:53 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Nuno Lopes
9bb808dc35 MFB 2007-02-14 19:20:15 +00:00
Nuno Lopes
5615e79140 MFB 2007-02-13 19:56:42 +00:00
Dmitry Stogov
113aa2339d Close open files in case of failure (Amit) 2007-01-09 16:27:32 +00:00
Dmitry Stogov
d92e5968ee Improved proc_open(). Now on Windows it can run external commands not through CMD.EXE 2007-01-06 09:08:06 +00:00
Nuno Lopes
80122d6b53 MFB 2007-01-02 15:31:58 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Nuno Lopes
9c754139fb MFB: fix #36427. patch by jdolecek at NetBSD dot org 2006-12-31 15:28:56 +00:00
Nuno Lopes
976c72cce7 MFB: fix PID info on windows 2006-12-31 14:49:06 +00:00
Sara Golemon
934c3781b2 Update proc_open() for PHP6 2006-10-03 19:37:01 +00:00
Sara Golemon
260836ec7a Flag the easy stuff out of the way, proc_open() is the real beast in here 2006-10-02 21:02:08 +00:00
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Antony Dovgal
01bc25e4b6 suppress_errors is used only on Win32, no need to look for it on other systems 2006-06-01 14:03:38 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
5fb11bc86e Fixed memory corruption 2006-02-20 09:38:47 +00:00
Ilia Alshanetsky
c6ba5765be Nuke safe_mode 2006-02-19 18:19:33 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Anantha Kesari H Y
98a2eeacc7 As fork implementation of NetWare LibC still in experimental stages making the procve based solution ahead of HAVE_FORK. Later When fork becomes stable will revert this fix.
--Kamesh from hyanantha's account
2005-07-01 06:49:29 +00:00
foobar
6f3b02cba4 typo 2005-06-20 11:10:11 +00:00
Ilia Alshanetsky
5355bdc788 Fixed bug #32533 (proc_get_status() returns the incorrect process status). 2005-04-07 23:07:45 +00:00
Ilia Alshanetsky
0c9610fc9d Fixed bug #32210 (proc_get_status() sets "running" always to true). 2005-03-07 16:17:12 +00:00
Anantha Kesari H Y
459313c26d In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG 2005-02-21 09:50:48 +00:00
Wez Furlong
be4778b87e Fix leaking handle.
Thanks to ilya77 at gmail dot com
2004-11-10 19:47:15 +00:00
Anantha Kesari H Y
ec42c1432c implemented proc_open for NETWARE 2004-09-29 06:04:36 +00:00
Ard Biesheuvel
5232a5afea 64-bit bugsquash party 2004-06-16 23:57:25 +00:00
Wez Furlong
bd818c0118 Turn this off then 2004-05-29 09:27:18 +00:00
Wez Furlong
7171429f21 Don't rely on TIOCNOTTY. 2004-05-29 00:30:11 +00:00
Wez Furlong
54bbe548fe Hopefully resolve proc_open build issues.
If we need anything more elaborate than this, then we can move to a configure
time check as Sascha suggests.
2004-05-28 13:25:51 +00:00
Wez Furlong
429bce6519 Apparently it is better to specify 500 here for unix98 bits and pieces. 2004-05-26 14:55:32 +00:00
Stanislav Malyshev
255d87b1b8 Add __EXTENSIONS__ define - otherwise it won't compile on Solaris 2004-05-09 11:08:04 +00:00