Kalle Sommer Nielsen
d3bc8beb4f
Removed support for BeOS, development for BeOS was supported 17 years ago.
...
This patch however does not drop support for the BeOS compatible variant, Haiku, see Github PR #2697 which is currently a WiP
I intentionally left out some fragments for BeOS in the build system for that seems to be bundles
2017-08-29 22:03:56 +02:00
Nikita Popov
035a27cbc6
Only compute callback name in error cases
...
Mostly the callback name is only used to report an error. Try to
avoid calculating it if no error occurred.
2017-06-25 18:45:59 +02:00
Dennis Birkholz
d0c8aba3d8
Pcntl: Make realtime signals available
...
Expose constants SIGRTMIN and SIGRTMAX and adjust range checks to
support realtime signals.
2017-03-09 15:59:09 +01:00
Adam Saponara
3e274018f8
Fix segfault in pcntl_signal_handler
(bug #73939 )
2017-01-15 06:44:04 +00:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
David Walker
cc16eff7ad
Fix memory leak
2016-07-07 21:33:01 -06:00
David Walker
f64388e8c1
pnctl_signal(): add siginfo to handler args
...
Feature will utilize already available siginfo parsing
and extend the handler for signals to provide an array
of the siginfo_t data.
RFC:https://wiki.php.net/rfc/additional-context-in-pcntl-signal-handler
2016-07-07 09:43:18 -06:00
David Walker
90e326c620
change long to zend_long, for uniformity
2016-07-06 13:57:37 -05:00
David Walker
fcda3c8ada
Fix to not attempt to call if handler is long. Idea for this came
...
from comment on PR.
2016-07-06 13:57:37 -05:00
David Walker
217dcbcd91
Fix #72409 - return previous handler
...
This patch addresses https://bugs.php.net/bug.php?id=72409
This patch is applied to master compared to PR#1952 which was
patching 5.6.x branch of PHP
This patch takes into account discussions on PR #1978
Addressing that rather than have pcntl_signal() return a value
to create a new function that can be used to get the current
value of the signal handler.
2016-07-06 13:57:37 -05:00
Dmitry Stogov
c03ccfe78d
Asynchronous signal handling without TICKs.
...
Squashed commit of the following:
commit eda931df18
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jul 6 10:53:30 2016 +0300
Replace pcntl.async_signals INI direcrive with pcntl_async_signals() function.
commit bfbf7dd7c2
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jun 24 12:25:31 2016 +0300
Asynchronous signal handling without TICKs.
2016-07-06 13:11:47 +03:00
Xinchen Hui
c15b6134f6
Fixed bug #72154 (pcntl_wait/pcntl_waitpid array internal structure overwrite)
2016-05-05 15:18:17 +08:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Dmitry Stogov
560e4fa393
Removed or simplified incorrect SEPARATE_*() macros usage.
2015-09-29 11:17:43 +03:00
Andrey Hristov
be6546fac9
Add support for parameters to tick functions, on C level. This is only
...
for extensions that want to use register tick functions. Userland tick
functions are unaffected.
2015-09-28 11:21:17 +02:00
Dmitry Stogov
ad4fa8f758
Fixed incorrect usage of HASH_OF() macro. Replaced HASH_OF() with more appropriate Z_ARRVAL_P() or Z_OBJPROP_P().
2015-09-24 22:39:59 +03:00
Dmitry Stogov
4a2e40bb86
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
2015-06-30 04:05:24 +03:00
Antony Dovgal
5c02e7e7fb
merge similar if conditions
2015-05-13 15:34:17 +02:00
Antony Dovgal
7e0e88820a
add rusage support to wait() and waitpid()
...
patch by Anton Stepanenko
2015-05-13 15:34:17 +02:00
Stanislav Malyshev
5a1bef8eef
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix format
update NEWS
Add test for bug #69522
Update tests
Fix bug #69522 - do not allow int overflow
Forgot test file
Fix bug #69403 and other int overflows
Fixed bug #69418 - more s->p fixes for filenames
Fixed bug #69364 - use smart_str to assemble strings
Fix bug #69453 - don't try to cut empty string
Fix bug #69545 - avoid overflow when reading list
Conflicts:
Zend/zend_alloc.c
Zend/zend_operators.c
ext/ftp/ftp.c
ext/pcntl/pcntl.c
ext/standard/basic_functions.c
ext/standard/dir.c
ext/standard/file.c
ext/standard/pack.c
ext/standard/string.c
main/rfc1867.c
2015-05-12 15:00:24 -07:00
Stanislav Malyshev
c08f9c2c78
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix format
update NEWS
Add test for bug #69522
Update tests
Fix bug #69522 - do not allow int overflow
Forgot test file
Fix bug #69403 and other int overflows
Fixed bug #69418 - more s->p fixes for filenames
Fixed bug #69364 - use smart_str to assemble strings
Fix bug #69453 - don't try to cut empty string
Fix bug #69545 - avoid overflow when reading list
Conflicts:
ext/pcntl/pcntl.c
ext/standard/basic_functions.c
ext/standard/pack.c
ext/standard/tests/dir/opendir_variation1-win32.phpt
2015-05-12 14:24:15 -07:00
Stanislav Malyshev
be9b2a95ad
Fixed bug #69418 - more s->p fixes for filenames
2015-05-10 02:09:38 -07:00
Anatol Belski
19360f386e
cleanup mod version macros, round 3
2015-03-23 20:54:55 +01:00
julien.pons
90114a3e93
Add wifcontinued and wcontinued for pcntl
2015-03-17 10:59:58 +01:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
73c1be2653
Bump year
2015-01-15 23:26:03 +08:00
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Julien Pauli
8ff4abb468
Merge branch 'PHP-5.6'
...
* PHP-5.6:
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
2014-12-12 18:24:29 +01:00
Jille Timmermans
9beb3763db
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
2014-12-12 18:16:12 +01:00
Julien Pauli
8779578354
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS
Updated NEWS
Fix #60509 , pcntl_signal doesn't decrease ref-count of old handler
2014-11-29 14:42:07 +01:00
Julien Pauli
19b5bc8ce2
Fix #60509 , pcntl_signal doesn't decrease ref-count of old handler
2014-11-29 14:39:19 +01:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
3234480827
first show to make 's' work with size_t
2014-08-27 20:49:31 +02:00
Anatol Belski
202e8db1dc
fixed several long vs zend_long casts
2014-08-26 11:26:53 +02:00
Nikita Popov
28e7beea66
Fix zend_longo_str
2014-08-25 22:47:04 +02:00
Anatol Belski
af59e92b24
master renames phase 7
2014-08-25 21:51:49 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
7de2259818
fix zpp
2014-08-21 17:59:28 +02:00
Anatol Belski
1a5a113f95
ported pcntl
2014-08-19 19:08:41 +02:00
Anatol Belski
63d3f0b844
basic macro replacements, all at once
2014-08-19 08:07:31 +02:00
Dmitry Stogov
c1965f58d4
Use reference counting instead of zval duplication
2014-06-05 16:04:11 +04:00
Nikita Popov
0987d19712
Use zend_long_to_str in pcntl
2014-05-28 18:26:11 +02:00
Dmitry Stogov
b675492054
Use new zend_hash API
2014-05-28 17:30:05 +04:00
Nikita Popov
8fbf4027e2
Remove incorrect EMPTY_SWITCH_DEFAULT_CASE() usage
2014-05-23 14:32:52 +02:00
Dmitry Stogov
70a5e0e429
Fixed support for references and proper string lengths
2014-05-06 15:03:25 +04:00
Dmitry Stogov
53b5de1e64
Added support for ext/pcntl (incomplete; ext/posix required to run all tests)
2014-05-06 14:23:56 +04:00
Xinchen Hui
0f53e37494
Merge branch 'PHP-5.6'
2014-01-03 11:09:07 +08:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00