Branch: refs/heads/yves/fix_embed_flag_static_type_mutex_detection
  Home:   https://github.com/Perl/perl5
  Commit: 2efdea06b858aab36551696dcf89b4a341023518
      
https://github.com/Perl/perl5/commit/2efdea06b858aab36551696dcf89b4a341023518
  Author: Yves Orton <demer...@gmail.com>
  Date:   2023-01-31 (Tue, 31 Jan 2023)

  Changed paths:
    M embed.fnc
    M embed.h
    M inline.h
    M proto.h
    M regen/embed.pl

  Log Message:
  -----------
  embed.pl - the 's', 'S', 'i' and 'I' flags are mutually exclusive

We had a bug where we processed the first one in the flags definition. Sorting
the flags or rearranging them changes the output, which shouldn't happen.

This also fixes the handling and specification of PerlEnv_putenv(), which was
marked "si" when it should have been marked "i". This required changing its
implementation from a Perl_ prefix to a S_ prefix and regenerating.

I have run embed.pl in a loop with a local patch to shuffle the flags to see
if there were any other order dependencies. No output files changed so I
assume with this patch we are free of such bugs.


Reply via email to