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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: spam2 at rhsoft dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Dec 21 11:01:30 2024 UTC