This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
msgrcv: properly downgrade the receive buffer
authorTony Cook <tony@develop-help.com>
Wed, 18 Nov 2020 03:26:38 +0000 (14:26 +1100)
committerTony Cook <tony@develop-help.com>
Tue, 24 Nov 2020 02:35:21 +0000 (13:35 +1100)
commit6987f4434e4dfee71506125954ee1ae41c46f1cb
treed90c309375e0f503852bccefd029b061cb614152
parentaa058ea4938983be8517ca4ac1dbcdf62cd96da2
msgrcv: properly downgrade the receive buffer

If the receive buffer started with SVf_UTF8 on, the received message
SV would stay flagged, corrupting the result.
doio.c
t/io/msg.t