Branch: refs/heads/smoke-me/khw-darwin_locale
  Home:   https://github.com/Perl/perl5
  Commit: 01931a455bc43a84fb16bd295d220b0e4e9a64ae
      
https://github.com/Perl/perl5/commit/01931a455bc43a84fb16bd295d220b0e4e9a64ae
  Author: Karl Williamson <k...@cpan.org>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  l


  Commit: eb43f7fd0f1be06c3728ae4de0879cc426d8ff90
      
https://github.com/Perl/perl5/commit/eb43f7fd0f1be06c3728ae4de0879cc426d8ff90
  Author: Karl Williamson <k...@cpan.org>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Don't do asymmetric back out on failure

This fixes #23519

When something goes wrong doing locale-aware string collation, the code
attempts to carry on as well as can be expected.  Prior to this commit
the backout code was asymmetric, trying to undo things that had not been
done.  This happened when the failure was early on.

In the case of this ticket, the platform has a defective locale that was
detectable before getting very far along.

The solution adopted here is to jump to a different label for those
early failures that does less backout than for later failures.


Compare: https://github.com/Perl/perl5/compare/01931a455bc4%5E...eb43f7fd0f1b

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

Reply via email to