Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 81f38e0b3a737bbab18eab4d7fe3df151870ad00
https://github.com/Perl/perl5/commit/81f38e0b3a737bbab18eab4d7fe3df151870ad00
Author: TAKAI Kousuke <[email protected]>
Date: 2026-02-10 (Tue, 10 Feb 2026)
Changed paths:
M perlio.c
M t/io/scalar.t
Log Message:
-----------
PerlIOScalar_write: eliminate duplicated code
The tails of both branches of "if ((PerlIOBase(f)->flags) &
PERLIO_F_APPEND)" were almost the same, so the common code can be
pulled out to reduce the code size.
t/io/scalar.t: added tests to make sure that this change should not
affect the behavior.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications