Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Perl/perl5] 4c5d32: locale.c: Don't compile ALT_DIGITS code if not rea...

1 view
Skip to first unread message

Karl Williamson via perl5-changes

unread,
Feb 19, 2024, 6:15:06 PM2/19/24
to perl5-...@perl.org
Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 4c5d32abd8f355904f47ba4b462a39ae57f560fc
https://github.com/Perl/perl5/commit/4c5d32abd8f355904f47ba4b462a39ae57f560fc
Author: Karl Williamson <k...@cpan.org>
Date: 2024-02-19 (Mon, 19 Feb 2024)

Changed paths:
M locale.c

Log Message:
-----------
locale.c: Don't compile ALT_DIGITS code if not reached

We know in some cases that a platform won't ever execute the code to
compute ALT_DIGITS. Windows and OpenBSD are two examples. Windows
because it doesn't support the strftime() %O modifier; OpenBSD because
the LC_TIME locale can only ever be C, which has no ALT_DIGITS.

In such cases, we can skip compiling the ALT_DIGIT code.



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