diff options
author | Bastien Bouclet <bastien.bouclet@gmail.com> | 2019-11-09 17:28:04 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2019-11-18 11:02:52 +0100 |
commit | 59362c80e3a02c011fd0ef3d7f07a20098d2a9d5 (patch) | |
tree | fe2fead8741a3cd294cd7ebf133ffe97ddb5b4a3 /COPYING.LIB | |
parent | 1626569222066ee601f6c41b29efcc95202674b7 (diff) | |
download | newlib-59362c80e3a02c011fd0ef3d7f07a20098d2a9d5.zip newlib-59362c80e3a02c011fd0ef3d7f07a20098d2a9d5.tar.gz newlib-59362c80e3a02c011fd0ef3d7f07a20098d2a9d5.tar.bz2 |
newlib: fix fseek optimization with SEEK_CUR
The call to fflush was invalidating the read buffer, preventing relative
seeks to positions that would have been inside the read buffer from
being optimized. The call to srefill would then re-read mostly the same
data that was initially in the read buffer.
Diffstat (limited to 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions