php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74913 Warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
Submitted: 2017-07-12 19:13 UTC Modified: 2017-07-25 08:33 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: peterkokot at gmail dot com Assigned: krakjoe (profile)
Status: Closed Package: Compile Warning
PHP Version: Irrelevant OS: Alpine 3.6
Private report: No CVE-ID: None
 [2017-07-12 19:13 UTC] peterkokot at gmail dot com
Description:
------------
When compiling the poll.h file included in sapi/phpdbg/phpdbg.c file doesn't have check as in some other files (for example, main/network.c) and produces warning with musl libc.

Actual result:
--------------
#warning redirecting incorrect #include <sys/poll.h> to <poll.h>

Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-07-25 08:33 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2017-07-25 08:33 UTC] krakjoe@php.net
The fix for this bug has been committed.

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/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 09:01:32 2024 UTC