Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 7bcccf4b498f5d1800b60ffed58a8d188cfe0707
      
https://github.com/Perl/perl5/commit/7bcccf4b498f5d1800b60ffed58a8d188cfe0707
  Author: Paul "LeoNerd" Evans <[email protected]>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M gv.c

  Log Message:
  -----------
  Avoid redefining SvREADONLY_on in gv.c as that causes confusion

When reading the previous code, it was confusing to see calls to
`SvREADONLY_on`, as without being aware the macro was redefined just
above this function, the reader is unlikely to be aware that here it
doesn't set the SVf_PROTECT flag.

We should instead define a custom-purpose macro here and use that, to
make its operation much clearer.



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to