Doc #52173 [Com]: ext/pcntl doesn't store/report errors
[email protected] ("Ericu98909coy at gmail dot com") Sat, 03 Dec 2022 06:26:09 +0000
| Newsgroups | php.doc.bugs |
|---|---|
| Message-ID | <[email protected]> |
Edit report at https://bugs.php.net/bug.php?id=52173&edit=1 ID: 52173 Comment by: Ericu98909coy at gmail dot com Reported by: nick dot telford at gmail dot com Summary: ext/pcntl doesn't store/report errors Status: Open Type: Documentation Problem Package: PCNTL related Operating System: Linux PHP Version: trunk-SVN-2010-06-24 (SVN) Block user comment: N Private report: N New Comment: Run composer with the --ignore-platform-reqs option and specify pcntl and posix composer install --ignore-platform-reqs (https://www.kantime-medicare.com/)github.com Previous Comments: ------------------------------------------------------------------------ [2017-01-28 16:42:38] [email protected] Related To: Bug #65185 ------------------------------------------------------------------------ [2010-11-01 21:23:17] [email protected] Fixed, thanks ! ------------------------------------------------------------------------ [2010-11-01 21:22:26] [email protected] Automatic comment from SVN on behalf of lbarnaud Revision: http://svn.php.net/viewvc/?view=revision&revision=305016 Log: MFH Fix bug #52173 (ext/pcntl doesn't store/report errors) (patch by nick dot telford at gmail dot com) ------------------------------------------------------------------------ [2010-11-01 21:10:19] [email protected] Automatic comment from SVN on behalf of lbarnaud Revision: http://svn.php.net/viewvc/?view=revision&revision=305015 Log: Fix bug #52173 (ext/pcntl doesn't store/report errors) (patch by nick dot telford at gmail dot com) ------------------------------------------------------------------------ [2010-06-24 19:10:03] nick dot telford at gmail dot com I've attached a patch that implements solution #3. The patch used the extent of my amazing copy/paste skills to extract the posix_get_last_error() and posix_strerror() functionality from ext/posix and duplicate it in ext/pcntl. If there's anything wrong with this patch, please let me know. But let me down lately - this is the first time I've written (if you can call it that) any C, let alone worked on a PHP extension. We've all gotta start somewhere :) If you need me to write tests etc. please let me know, also any tips on how to go about doing so. I've tested this using the example in the description and it works a treat. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=52173 -- Edit this bug report at https://bugs.php.net/bug.php?id=52173&edit=1