diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-11 12:22:52 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-11 12:22:52 +0200 |
commit | d087a356feae73f223c5fdccd694d7af4e44601a (patch) | |
tree | b5e4d79c1e6ada5b692aa0efce698618ca08f77f /Zend/zend_execute_API.c | |
parent | 30df87f77d87d446afbfa4c9d2e0a1a643cc4bdc (diff) | |
download | php-git-d087a356feae73f223c5fdccd694d7af4e44601a.tar.gz |
Suppress warnings using zend_quiet_write
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 56786ae41b..ab1ef9fa49 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -1176,7 +1176,7 @@ static void zend_timeout_handler(int dummy) /* {{{ */ output_len = snprintf(log_buffer, sizeof(log_buffer), "\nFatal error: Maximum execution time of " ZEND_LONG_FMT "+" ZEND_LONG_FMT " seconds exceeded (terminated) in %s on line %d\n", EG(timeout_seconds), EG(hard_timeout), error_filename, error_lineno); if (output_len > 0) { - write(2, log_buffer, MIN(output_len, sizeof(log_buffer))); + zend_quiet_write(2, log_buffer, MIN(output_len, sizeof(log_buffer))); } _exit(124); } |