ID: 47779
Updated by: [email protected]
Reported By: [email protected]
-Status: Open
+Status: Closed
Bug Type: PCNTL related
Operating System: *
PHP Version: 5.3CVS-2009-03-25 (CVS)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Fixed in 5.3 and HEAD. Thanks.
Previous Comments:
------------------------------------------------------------------------
[2009-03-25 22:32:23] [email protected]
Description:
------------
While chking pcntl.c because of build errors on FreeBSD 6 and test
failures on NetBSD 4, I spotted that SIG_UNBLOCK and SIG_SETMASK both
have the same value as SIG_BLOCK.
Patch w/ test available here:
http://www.beccati.com/misc/php/pcntl_sig_constants_HEAD.diff
My karma prevents me from committing directly.
Reproduce code:
---------------
var_dump(SIG_BLOCK);
var_dump(SIG_UNBLOCK);
var_dump(SIG_SETMASK);
Expected result:
----------------
int(0)
int(1)
int(2)
Actual result:
--------------
int(0)
int(0)
int(0)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47779&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.