Commit Graph

78 Commits

Author SHA1 Message Date
Arnaud Le Blanc
a9507474e3 Fix bug #52173 (ext/pcntl doesn't store/report errors) (patch
by nick dot telford at gmail dot com)
2010-11-01 20:10:17 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Dmitry Stogov
7a535b807c pcntl_exec() should inherit environment in case it's not provided as an argument 2009-09-30 13:04:28 +00:00
Arnaud Le Blanc
f2b8b7f4e0 MFH: Fix return value of pcntl_wexitstatus() (fixes #47566,
patch by james at jamesreno dot com)
2009-05-26 14:01:39 +00:00
Matteo Beccati
da141679cb MFH:
- Fixed bug #47816 (pcntl tests failing on NetBSD)
# Tests will still fail until a few kernel bugs are fixed
2009-03-28 03:21:04 +00:00
Matteo Beccati
8974174532 MFH:
- Reverting: pcntl_signal() returning NULL when passing wrong parameters
2009-03-28 03:12:52 +00:00
Matteo Beccati
724ae4b95e MFH:
- Fixed pcntl_signal() returning NULL when passing wrong parameters
2009-03-28 01:32:51 +00:00
Arnaud Le Blanc
19b88b6163 MFH: Fix build on FreeBSD <7 (fixes #47777) 2009-03-25 23:34:08 +00:00
Felipe Pena
fe9ce624f6 MFH:
- Fixed bug #47779 (Wrong value for SIG_UNBLOCK and SIG_SETMASK constants).
  Patch by: mbeccati at php.net
2009-03-25 22:52:30 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Arnaud Le Blanc
cf7ad21ce5 MFH: Added the oldset parameter to pcntl_sigprocmask().
Already documented.
2008-11-10 05:57:18 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Arnaud Le Blanc
52f5ee8805 MFH: initialize optional args 2008-09-12 19:49:18 +00:00
Jani Taskinen
c71ea248bd MFH 2008-08-05 15:12:19 +00:00
Felipe Pena
e304515ddb - MFH: Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:46:07 +00:00
Arnaud Le Blanc
c58e2b9d20 MFH: 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:59:10 +00:00
Arnaud Le Blanc
204fcbe5d3 MFH: 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:11 +00:00
Felipe Pena
44e0c9e4f6 - Added arginfo
- Removed #include "zend_arg_defs.c"
2008-06-30 13:15:03 +00:00
Alexey Zakhlestin
2369f43415 updated to the new parameter-parsing api 2008-06-22 15:16:11 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Ilia Alshanetsky
674081da93 Fixed bug #43373 (pcntl_fork() should not raise E_ERROR on error) 2007-11-27 17:13:18 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
5bc435c4e8 fix typo in errmsg 2006-08-31 15:42:18 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Michael Wallner
258351c30a - fix bug #37635 (parameter of pcntl signal handler is trashed) 2006-05-30 17:40:52 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +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
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
foobar
ad1ccd68eb typofix (thanks to Mehdi Achour for noticing this) 2004-01-23 07:02:15 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Ilia Alshanetsky
f884a5b437 Kill unused variables. 2003-11-05 23:44:09 +00:00
George Schlossnagle
797ac80e7c Added pcntl_wait, a wraspper around wait()/wait3() 2003-10-28 17:08:18 +00:00
Marcus Boerger
733e90bf0a No dots at the end of error messages 2003-08-31 14:35:10 +00:00
Marcus Boerger
2a744ccb90 Fix format specifiers 2003-08-31 14:33:17 +00:00
Zeev Suraski
8767205afa Fix Win32 linkage problems 2003-08-31 12:41:53 +00:00
Andrey Hristov
f89e7e3fb9 proto fixes. 2003-06-22 14:33:09 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Ilia Alshanetsky
493633d16f Fixed compiler warnings. 2003-05-29 23:39:41 +00:00
Hartmut Holzgraefe
4b7c5cea4b proto and typo fixes 2003-05-20 13:35:13 +00:00
Ilia Alshanetsky
0503336ede Added pcntl_setpriority & pcntl_getpriority(). These functions can be used
to fetch and alter the priority of a process.
2003-02-18 01:41:06 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Marcus Boerger
a40ccefd32 php_error -> php_error_docref 2002-12-12 13:08:59 +00:00
Marcus Boerger
53309aace0 SIGIOT may not be defined in cygwin 2002-12-12 12:23:32 +00:00