Branch: refs/heads/smoke-me/tonyc/selfloader-mixed-io-again
  Home:   https://github.com/Perl/perl5
  Commit: b254823b95aef891051f9f8676d5ff0b137728f4
      
https://github.com/Perl/perl5/commit/b254823b95aef891051f9f8676d5ff0b137728f4
  Author: Tony Cook <[email protected]>
  Date:   2026-05-07 (Thu, 07 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

Reply via email to