Branch: refs/heads/smoke-me/tonyc/selfloader-mixed-io-again
Home: https://github.com/Perl/perl5
Commit: 2294b1a0cdc6309fdf0c2b44a859d6a43a9660ca
https://github.com/Perl/perl5/commit/2294b1a0cdc6309fdf0c2b44a859d6a43a9660ca
Author: Tony Cook <[email protected]>
Date: 2026-05-12 (Tue, 12 May 2026)
Changed paths:
M dist/SelfLoader/lib/SelfLoader.pm
Log Message:
-----------
SelfLoader: try harder to not confuse PERLIO=stdio
The previous change was failing on some FreeBSD and Linux, possibly
because it assumed that a stdio level seek would result in an fd level
seek, but a libc could optimize to just reposition within the buffer
if the seeked to position has already been read in.
So split this into two, first test that the handle is seekable without
a net change in position, then only reposition the duplicated handle,
which *should* have no buffered content.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications