mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
use portable fseek
This commit is contained in:
parent
589374d027
commit
f43cc2a19a
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ static size_t php_stdiop_write(php_stream *stream, const char *buf, size_t count
|
|||
|
||||
#if HAVE_FLUSHIO
|
||||
if (!data->is_pipe && data->last_op == 'r') {
|
||||
fseek(data->file, 0, SEEK_CUR);
|
||||
zend_fseek(data->file, 0, SEEK_CUR);
|
||||
}
|
||||
data->last_op = 'w';
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue