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
 [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-2020 The PHP Group
All rights reserved.
Last updated: Sun Sep 20 09:01:25 2020 UTC