Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c38abf11f3654a9d7313edb0ed80fa754a8916c1
      
https://github.com/Perl/perl5/commit/c38abf11f3654a9d7313edb0ed80fa754a8916c1
  Author: Karl Williamson <[email protected]>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M utf8.c

  Log Message:
  -----------
  utf8_to_uv_msgs(): Move dTHX to only block used in

This only is needed if a problem was found.


  Commit: c9fc5b64c496fb667556ead00b60bf7b59cb7a83
      
https://github.com/Perl/perl5/commit/c9fc5b64c496fb667556ead00b60bf7b59cb7a83
  Author: Karl Williamson <[email protected]>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M utf8.c

  Log Message:
  -----------
  utf8_to_uv_msgs: Move declaration to first need

There are several paths through the code that don't need this copy to be
made.  Move to just before it is really needed.


  Commit: 84dd8e88228f191c4b91056d7c6c2d91fa3afb31
      
https://github.com/Perl/perl5/commit/84dd8e88228f191c4b91056d7c6c2d91fa3afb31
  Author: Karl Williamson <[email protected]>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M utf8.c

  Log Message:
  -----------
  utf8_to_uv_msgs: Combine duplicate statements

By deferring to the end of the function the setting of a variable
returned to the caller, we can eliminate one copy of that setting.  The
early returns from this function that necessitated the early setting
have been removed in previous commits.


  Commit: 0cc836f06df5f9572e7a524926141ad6900ff35d
      
https://github.com/Perl/perl5/commit/0cc836f06df5f9572e7a524926141ad6900ff35d
  Author: Karl Williamson <[email protected]>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M utf8.c

  Log Message:
  -----------
  utf8_to_uv_msgs: Rationalize use of two variables

This makes these two variables always contain the value their names
indicate.


  Commit: 5570b8c38a447cc7f7a6dd9c87f50b8180c24631
      
https://github.com/Perl/perl5/commit/5570b8c38a447cc7f7a6dd9c87f50b8180c24631
  Author: Karl Williamson <[email protected]>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M utf8.c

  Log Message:
  -----------
  utf8_to_uv_msgs: Move an assert

This is a small detail, but this moves this assert to after a
conditional that would exclude it.  That is, if the conditional is true,
the assert is pointless.  So move the assert to where we know the
conditional is false.


  Commit: 0e9a28d10f8f848b73a0a6f32a0bcfaa318281d1
      
https://github.com/Perl/perl5/commit/0e9a28d10f8f848b73a0a6f32a0bcfaa318281d1
  Author: Karl Williamson <[email protected]>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M utf8.c

  Log Message:
  -----------
  utf8_to_uv_msgs: Move decls and inits closer to first use

C99 allows us to declare anywhere; so move these to where its more
logical.  It also makes sure some variables are initialized before the
goto that jumps to the end of the program, and which currently doesn't
rely on these values, but could be changed to do so someday without the
coder realizing it.  This prevents a problem in case that happens.


  Commit: 8542129706ffc6d70930a9e6ce640c908d9dd54d
      
https://github.com/Perl/perl5/commit/8542129706ffc6d70930a9e6ce640c908d9dd54d
  Author: Karl Williamson <[email protected]>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M utf8.c

  Log Message:
  -----------
  utf8_to_uv_msgs: Remove duplicate code

This was introduced in a rebasing error


Compare: https://github.com/Perl/perl5/compare/b1397c41ce94...8542129706ff

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

Reply via email to