Bug #75478 [Opn->Csd]: warning: ignoring return value of 'write'
| From: | nikic@php.net | Date: | Thu, 16 Apr 2020 12:46:11 +0000 |
| Subject: | Bug #75478 [Opn->Csd]: warning: ignoring return value of 'write' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-226612@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75478&edit=1
ID: 75478
Updated by: nikic@php.net
Reported by: spam2 at rhsoft dot net
Summary: warning: ignoring return value of 'write'
-Status: Open
+Status: Closed
Type: Bug
Package: Compile Warning
PHP Version: 7.1Git-2017-11-03 (Git)
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
This warning has been fixed in the meantime.
Previous Comments:
------------------------------------------------------------------------
[2017-11-03 12:09:01] 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)));
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75478&edit=1