Xinchen Hui
e081c55fb5
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-10 10:31:31 +08:00
Xinchen Hui
610c7fbe7b
Remove executable permission on phpt
2012-10-10 10:27:49 +08:00
Xinchen Hui
e4a8fa6a15
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-09 13:29:51 +08:00
Xinchen Hui
6284ef112e
Fixed bug #63236 (Executable permission on various source files)
2012-10-09 13:28:31 +08:00
Xinchen Hui
4b152e5470
Merge branch 'PHP-5.4'
2012-10-10 10:32:38 +08:00
Xinchen Hui
75a2c0d715
Merge branch 'PHP-5.4'
2012-10-09 13:30:22 +08:00
Stanislav Malyshev
a3322f8927
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed the common misspelling of the word occurred (occured -> occurred)
2012-06-30 17:00:25 -07:00
Marc Easen
896ac689c9
Fixed the common misspelling of the word occurred (occured -> occurred)
2012-06-30 16:54:03 -07:00
Gustavo André dos Santos Lopes
fc4482fd5e
Merge branch '5.4'
2012-03-29 08:48:13 +01:00
Gustavo André dos Santos Lopes
f4873c68a6
Merge branch '5.3' into 5.4
...
Conflicts:
main/output.c
2012-03-29 08:47:58 +01:00
Jille Timmermans
710335b2a3
ext/pcntl/pcntl.c: Fix typo in comment
...
Signed-off-by: Jille Timmermans <jille@quis.cx>
2012-03-29 08:46:04 +01:00
Gustavo André dos Santos Lopes
616d802974
Revert "ext/pcntl/pcntl.c: Fix typo in comment" (apply correct workflow)
...
This reverts commit 4aeabaf8e9
.
2012-03-29 08:45:00 +01:00
Gustavo André dos Santos Lopes
117cdf384f
Revert "ext/pcntl/pcntl.c: Fix typo in comment" (apply correct workflow)
...
This reverts commit 55b1e61242
.
2012-03-29 08:44:19 +01:00
Gustavo André dos Santos Lopes
57af2875dc
Revert "Merge branch 'pull-request/24'" (apply correct workflow)
...
This reverts commit a00b447b34
, reversing
changes made to 48daddf093
.
2012-03-29 08:41:51 +01:00
Jille Timmermans
4aeabaf8e9
ext/pcntl/pcntl.c: Fix typo in comment
...
Signed-off-by: Jille Timmermans <jille@quis.cx>
2012-03-29 09:07:19 +09:00
Jille Timmermans
55b1e61242
ext/pcntl/pcntl.c: Fix typo in comment
...
Signed-off-by: Jille Timmermans <jille@quis.cx>
2012-03-29 09:07:07 +09:00
Jille Timmermans
51e9365bb9
ext/pcntl/pcntl.c: Fix typo in comment
...
Signed-off-by: Jille Timmermans <jille@quis.cx>
2012-03-28 16:18:23 +02:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Hannes Magnusson
565cf8b76a
Fix errormessage
2011-09-07 13:47:31 +00:00
Hannes Magnusson
c4039f6481
Fix errormessage
2011-09-07 13:47:31 +00:00
Hannes Magnusson
03d8301d7c
Fix errormessage
2011-09-07 13:47:31 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Stanislav Malyshev
c4197dc35e
MFH
2011-07-12 04:50:24 +00:00
Felipe Pena
10c20ceaf4
- Added SKIPIF
2011-06-24 19:18:06 +00:00
Felipe Pena
c4e0d06aee
- Added SKIPIF
2011-06-24 19:18:06 +00:00
Felipe Pena
b632c3ac06
- Added SKIPIF
2011-06-24 19:18:06 +00:00
Ilia Alshanetsky
34d93f0c06
Zend Signal Handling
2011-06-22 14:23:21 +00:00
Ilia Alshanetsky
2dce38f598
Fixed crash and improved signal validation
2011-06-03 17:18:46 +00:00
Ilia Alshanetsky
52e353e973
Compiler warning fix
2011-06-03 07:00:38 +00:00
Felipe Pena
0aaedef71d
- Fix crash in pcntl
2011-06-03 00:35:22 +00:00
Ilia Alshanetsky
939875133a
Zend Signal Handling (see RFC: https://wiki.php.net/rfc/zendsignals )
...
This needs to go into 5.4 as well, but will wait for Pierre to review win32 situation
# Patch by Lucas Nealan, Arnaud Le Blanc, Brian Shire & Ilia Alshanetsky
2011-06-02 21:16:50 +00:00
Pierrick Charron
1368364469
Fix common typos in the source code (Reported in Bug #54065 )
...
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
2011-04-03 21:46:52 +00:00
Pierrick Charron
e8486cc374
Fix common typos in the source code (Reported in Bug #54065 )
...
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
2011-04-03 21:46:52 +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
Arnaud Le Blanc
3ac257f344
MFH fixed bug #52784 (Race condition when handling many
...
concurrent signals)
2010-11-01 22:43:59 +00:00
Arnaud Le Blanc
adaa31fff8
fix the fix
2010-11-01 22:40:29 +00:00
Arnaud Le Blanc
61e7730ee8
fixed bug #52784 (Race condition when handling many
...
concurrent signals)
2010-11-01 22:29:25 +00:00
Arnaud Le Blanc
cd63986283
MFH Fix bug #52173 (ext/pcntl doesn't store/report errors)
...
(patch by nick dot telford at gmail dot com)
2010-11-01 20:22:23 +00:00
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
Zoe Slattery
1c98e49afd
Test from 2009 testfest
2009-08-26 17:17:58 +00:00
Gwynne Raskind
bfad6f6cee
Don't use short tags in tests
2009-07-02 10:03:14 +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
638af1ec91
MFH:
...
- 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:43:47 +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
13061cf0a0
Removed deprecation warning for ticks
2009-03-27 02:32:57 +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
2756c75304
MFH
2008-11-10 06:30:16 +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
41201c78b2
Add tests for pcntl
2008-09-12 19:49:46 +00:00
Arnaud Le Blanc
52f5ee8805
MFH: initialize optional args
2008-09-12 19:49:18 +00:00
Arnaud Le Blanc
b08615c675
MFH Fix test
2008-09-12 12:17:07 +00:00
Alexey Zakhlestin
2955943a78
pcntl_sigwaitinfo() and pcntl_sigtimedwait() functions are conditionally enabled, so, test should verify if they are present
2008-09-08 12:08:41 +00:00
Antony Dovgal
c0dbad5530
not experimental anymore
2008-08-07 13:11:05 +00:00
Antony Dovgal
c36a3fdfac
remove EXPERIMENTAL flag
2008-08-07 13:07:16 +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
94840506de
- Fixed test
2008-07-18 12:20:29 +00:00
Dmitry Stogov
833a2295d1
Support for closures
2008-07-17 09:53:42 +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
Nuno Lopes
61eb7ae554
remove unused PHP_EXTNAME_API macros.
...
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +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
Martin Kraemer
9c62ddde34
Typo
2007-03-14 09:58:14 +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
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
Hartmut Holzgraefe
eeb172b29f
"The Visa to Sibiria" (work in progress)
...
Adding a package.xml to a bundled extension does not only
ease the transition to PECL whereever suitable but also
allows to build and install an extension as "shared" using
the PEAR installer without having to deal with phpize and
friends by hand
2004-03-23 19:46:10 +00:00
foobar
ad1ccd68eb
typofix (thanks to Mehdi Achour for noticing this)
2004-01-23 07:02:15 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +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
foobar
25a7332e9b
getpriority() and setpriority() are in libc..
2003-02-18 03:25:33 +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
Ilia Alshanetsky
1504ad65fc
Added a skip condition in the event posix_kill(), which is used by the test
...
is not avaliable.
2002-11-08 01:08:52 +00:00
Jason Greene
261a60a360
@Made major improvents to the pcntl extension(Jason):
...
@ - Greatly improved performance, by switching the signal callback mechanism
@ to use ticks
@ - Implemented object signal callback ability by using array($obj, $method)
@ - Added a restart parameter to pcntl_signal, which allows you to disable
@ the default of system call restarting
Changed callback hash table to be initialized and destroyed per reqeust
(allows the ability to use request life zvals as handles)
Nuked warnings
Modified test script to adjust to new ticks backend
Some slight WS fixes
2002-08-22 04:20:10 +00:00
Edin Kadribasic
3b3ec06ee7
Added function pcntl_alarm().
...
@- Added pctnl_alarm() function. (Edin)
2002-06-04 15:51:25 +00:00
Jason Greene
f30fefcb30
Fix invalid warning caused by bogus convert_to_* calls
...
Fix possible invalid data in status for pcntl_waitpid()
2002-05-06 23:01:46 +00:00
Jason Greene
4c9dbf9335
Fix type-o that broke ZTS build
...
Fix 3 nasty crash bugs that could occur if pcntl_exec's call to execve errored
2002-05-06 19:48:39 +00:00
Markus Fischer
be013212bc
- Fix pcntl_waitpid() [ Fixes #16766 ].
2002-04-23 21:21:41 +00:00
Jan Lehnardt
9b09fba139
- MFB (4_2_0)
2002-04-12 16:54:01 +00:00
Jason Greene
aab103e9fc
Remove already included file
2002-03-17 19:41:24 +00:00
Markus Fischer
bfbb3bba1f
- Fix some compiler warnings and errors.
2002-03-17 08:10:04 +00:00
Markus Fischer
9a6296c47e
- WS and code style fix.
2002-03-16 22:31:57 +00:00
Markus Fischer
6c27722398
- Some more TSRMLS fixes.
2002-03-16 22:19:10 +00:00
Sascha Schumann
283b860c58
php_new_extension
2002-03-12 16:53:19 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Edin Kadribasic
f5790b0a7c
Modified the build system to make certain extensions (pcntl, ncurses,
...
pcntl) only with cgi/cli sapi's. This was done by adding 3rd optional
parameter to PHP_EXTENSION macro which should be set to "cli" if
the extension only makes sense for that class of api's.
2002-01-20 02:30:18 +00:00
Hartmut Holzgraefe
5560c7a686
use predefined function instead of hardcoded test
2002-01-04 14:08:50 +00:00
Hartmut Holzgraefe
dda970500e
proto fix
2002-01-04 14:08:25 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
foobar
686380b824
Fix test when allow_call_time_pass_reference = Off
2001-12-06 04:43:58 +00:00
foobar
f1397d5339
Unified the configure messages.
2001-11-30 19:00:13 +00:00
Egon Schmid
d3ea04bb66
Some protos fixed.
2001-11-08 22:11:41 +00:00
Derick Rethans
ea83d64507
- prototypes
...
#- Thanks to Zak for pointing this out during his talk
2001-11-08 20:23:33 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Jason Greene
dc7d5df048
Add cleanup on an exec failure
...
Remove debug comments
2001-10-03 03:48:27 +00:00
Jason Greene
8a705b8cd9
@Added new function pcntl_exec, which behaves similar to execve.
2001-09-30 06:59:12 +00:00
Sascha Schumann
ed50e0e155
Fix indentation of ./configure --help
2001-09-19 09:17:56 +00:00
Jason Greene
2b1fe64d46
Removed space type-o
...
Fixed WS
Added $Id$ tags
Removed already completed TODO from README
2001-07-30 20:51:57 +00:00
Jason Greene
40c7f09509
Fully implement new thread safe model.
...
Fix ws.
2001-07-30 19:40:29 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +00:00
Zeev Suraski
b0224d51da
Zend compatibility patch
2001-07-30 05:36:18 +00:00
Jason Greene
be8b7f9981
Signal numbers are not uniform accross all platforms.
...
Modified test to use the constants unless a failure occurs.
2001-07-06 18:30:38 +00:00
Jason Greene
14646bf08e
Fix proto's and some ws ugliness
2001-07-06 06:00:51 +00:00
Jason Greene
0bfa63490d
Added wait.h functionality to pcntl
...
Added tests for such functionality
Removed bogus files
2001-07-06 05:48:52 +00:00
Jason Greene
d4391dcdd8
no need to implement these functions, already in posix module
2001-07-04 22:02:00 +00:00
Jason Greene
7f2fa9fea7
Actually check for the needed system calls.
...
Currently require sigaction, fork, waitpit.
2001-07-04 21:51:22 +00:00
Jason Greene
8f1f79fa7b
*BSD doesn't have SIGPOLL or SIGPWR
2001-06-26 04:54:47 +00:00
Jason Greene
333b1bf9c8
Fix casting wierdness that broke compiled code with Sun CC.
...
(Also easier to read)
2001-06-25 17:56:23 +00:00
Jason Greene
351b78d87e
Make pcntl async safe by registering as a zend extension and grabing the
...
statement handler. There could possibly be a more atomic hook in the future.
Also added simple TODO section to README.
NOTE: sleep() grabs SIGALRM on solaris, so
test-pcntl.php's alarm_handle function will not catch.
2001-06-19 21:42:57 +00:00
Jason Greene
5ae35781e3
Adding some ifdefs for better platform compatibility
2001-06-13 01:13:05 +00:00
Jason Greene
3fd006d648
Remove bugus file.
2001-06-12 09:05:40 +00:00
Jason Greene
8b43f3222e
@Added new experimental module pcntl (Process Control) (Jason)
...
Initial Import
2001-06-12 08:54:25 +00:00