Branch: refs/heads/smoke-me/khw-darwin_locale
  Home:   https://github.com/Perl/perl5
  Commit: a25786b39c566a697d9f30bbfa523c8e643d684e
      
https://github.com/Perl/perl5/commit/a25786b39c566a697d9f30bbfa523c8e643d684e
  Author: Karl Williamson <k...@cpan.org>
  Date:   2025-04-20 (Sun, 20 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.



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

Reply via email to