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: -
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:
Status: Open Package: Compile Warning
PHP Version: 7.1Git-2017-11-03 (Git) OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 06:01:27 2019 UTC