Commit Graph

108 Commits

Author SHA1 Message Date
Dmitry Stogov
e7b1e07647 pcntl_exec() should inherit environment in case it's not provided as an argument 2009-09-30 13:04:28 +00:00
Zoe Slattery
7effcd5f6c Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Arnaud Le Blanc
8620c10b3e Fix return value of pcntl_wextistatus() (fixes #47566,
patch by james at jamesreno dot com)
2009-05-26 14:00:42 +00:00
Matteo Beccati
35386a9d2b - Fixed pcntl test for platforms not accepting a very large timeout in sigtimedwait()
# It isn't really necessary for the child to wait for PHP_INT_MAX seconds
2009-03-29 16:42:49 +00:00
Matteo Beccati
6bf4c00142 - Fixed bug #47816 (pcntl tests failing on NetBSD)
# Tests will still fail until a few kernel bugs are fixed
2009-03-28 03:17:31 +00:00
Matteo Beccati
98bafbbd67 - Reverting: pcntl_signal() returning NULL when passing wrong parameters
# Wow, my first commit and I broke something, sorry about that :(
2009-03-28 03:11:39 +00:00
Matteo Beccati
0c58cbcea0 - Fixed pcntl_signal() returning NULL when passing wrong parameters 2009-03-28 01:31:31 +00:00
Arnaud Le Blanc
9665b16d57 Fix build on FreeBSD <7 (fixes #47777) 2009-03-25 23:33:36 +00:00
Felipe Pena
77b1147e3f - Fixed bug #47779 (Wrong value for SIG_UNBLOCK and SIG_SETMASK constants).
Patch by: mbeccati at php.net
2009-03-25 22:49:43 +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
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Arnaud Le Blanc
b6d4158b79 credits 2008-11-10 06:29:52 +00:00
Arnaud Le Blanc
5e9bf03246 Added the oldset parameter to pcntl_sigprocmask().
Already documented.
2008-11-10 05:56:22 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Arnaud Le Blanc
2f0b63b6df Add tests for pcntl 2008-09-12 19:49:38 +00:00
Arnaud Le Blanc
4a254a0a5e initialize optional args 2008-09-12 19:49:04 +00:00
Arnaud Le Blanc
f9bbb14f8e MFB skipif 2008-09-12 12:17:48 +00:00
Arnaud Le Blanc
42a41b9484 Fix test 2008-09-12 12:14:28 +00:00
Antony Dovgal
911a3a1616 not experimental anymore 2008-08-07 13:10:22 +00:00
Antony Dovgal
9b279c8fb3 remove EXPERIMENTAL flag 2008-08-07 13:07:06 +00:00
Jani Taskinen
a0470b3ee3 - Portability fix. (si_fd seems to be linux only thing) 2008-08-05 15:12:11 +00:00
Felipe Pena
611ecc5111 - Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:40:45 +00:00
Arnaud Le Blanc
6c21038ddf Added pcntl_sigwaitinfo(), pcntl_sigtimedwait() and pcntl_sigprocmask()
[DOC] pcntl_sigprocmask() allows to block signals. pcntl_sigwaitinfo()
allows to fetch blocked signals or signals delivered while pcntl_sigwaitinfo()
is running. pcntl_sigtimedwait() is pcntl_sigwaitinfo() with a timeout.
2008-07-29 16:56:26 +00:00
Arnaud Le Blanc
a617bfdf9e Added pcntl_signal_dispatch()
[DOC] pcntl_signal_dispatch() allows to dispatch pending signals to registered
signal handler functions on-demand. This allows to use pcntl_signal() without
ticks.
2008-07-29 16:46:03 +00:00
Dmitry Stogov
0cfa6a5977 support for closures 2008-07-17 09:52:51 +00:00
Felipe Pena
e97b54db43 MFB:
- Added arginfo
- Removed #include "zend_arg_defs.c"
2008-06-30 13:27:45 +00:00
Alexey Zakhlestin
d3b4f8b69b updated to the new parameter-parsing api 2008-06-22 15:44:19 +00:00
Nuno Lopes
1dc0e94e0f MFB: remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:18:29 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Ilia Alshanetsky
78fadae2ce MFB: Fixed bug #43373 (pcntl_fork() should not raise E_ERROR on error) 2007-11-27 17:13:31 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Martin Kraemer
e46b1b3747 Typo 2007-03-14 09:49:58 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
272e4c24fd fix typo in errmsg 2006-08-31 15:42:06 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Michael Wallner
d96300f0e2 MFB: fix bug 37635 (argument to pcntl signal handler is trashed) 2006-05-30 17:44:23 +00:00
Andrei Zmievski
389454e671 pcntl_signal is safe too 2006-04-27 15:28:21 +00:00
Andrei Zmievski
c8b5891a0a Safe-fy some functions. 2006-04-27 15:21:00 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Dmitry Stogov
6b622046dc zend_is_callable() and zend_make_callable() were changed to return readable function name as zval (instead of string). 2005-08-22 12:22:16 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Wez Furlong
660afcaef4 MFB: Fix for #32974 2005-05-07 14:58:12 +00:00
foobar
ce742b08b0 - Fix typo (avaliable -> available). (bug #28725) 2004-12-16 12:34:32 +00:00
Dmitry Stogov
860754f0f9 Fixed build on linux-glibc21-i386 2004-12-14 14:01:06 +00:00
Derick Rethans
52d6a64efa - Fixed bug #29873 (No defines around pcntl_*priority definitions). 2004-08-28 12:20:06 +00:00
Ilia Alshanetsky
690ca62dd3 Do not use alloca() where it can be abused through user input. 2004-06-30 01:12:06 +00:00
Marcus Boerger
29cfd6d24f - Remove unused blocks 2004-05-19 08:56:50 +00:00