[Bug 1861776] Re: fseek(…, …, SEEK_SET) causes reading over the skipped range

2020-12-07 Thread Bug Watch Updater
Launchpad has imported 6 comments from the remote bug at https://sourceware.org/bugzilla/show_bug.cgi?id=25497. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at

[Bug 1861776] Re: fseek(…, …, SEEK_SET) causes reading over the skipped range

2020-12-07 Thread Balint Reczey
I've set the bug as forwarded, following how the discussion at upstream goes. The fix _may_ be backported if upstream backports it to the 2.27 branch. ** Also affects: glibc (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: glibc (Ubuntu Bionic) Importance: Undecided

[Bug 1861776] Re: fseek(…, …, SEEK_SET) causes reading over the skipped range

2020-02-05 Thread Konstantin
UPD: replaced 2.30 → 2.29 in the description. Per my colleague's test, 2.29 works too. ** Description changed: When fseek is called, it calls in turn 1. lseek(), and 2. read(). In - glibc 2.30 (maybe earlier) read() is only called for the last block. + glibc 2.29 (maybe earlier) read() is only