php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75478 warning: ignoring return value of 'write'
Submitted: 2017-11-03 12:09 UTC Modified: 2020-04-16 12:46 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: spam2 at rhsoft dot net Assigned: nikic (profile)
Status: Closed Package: Compile Warning
PHP Version: 7.1Git-2017-11-03 (Git) OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
27 - 17 = ?
Subscribe to this entry?

 
 [2017-11-03 12:09 UTC] spam2 at rhsoft dot net
Description:
------------
/home/builduser/rpmbuild/BUILD/php-7.1.11/Zend/zend_execute_API.c: In function 'zend_timeout_handler':
/home/builduser/rpmbuild/BUILD/php-7.1.11/Zend/zend_execute_API.c:1231:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(2, log_buffer, MIN(output_len, sizeof(log_buffer)));


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-04-16 12:46 UTC] nikic@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: nikic
 [2020-04-16 12:46 UTC] nikic@php.net
This warning has been fixed in the meantime.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC