This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2af4476
)
Apply bitrig change to lib/locale.t too
author
Chris 'BinGOs' Williams
<chris@bingosnet.co.uk>
Thu, 22 Aug 2013 15:11:29 +0000
(16:11 +0100)
committer
Chris 'BinGOs' Williams
<chris@bingosnet.co.uk>
Thu, 22 Aug 2013 16:09:20 +0000
(17:09 +0100)
This change appears to have entered the bitrig source tree via
openbsd source merge.
lib/locale.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/locale.t
b/lib/locale.t
index
31d97e5
..
097f297
100644
(file)
--- a/
lib/locale.t
+++ b/
lib/locale.t
@@
-621,7
+621,7
@@
if (-x "/usr/bin/locale" && open(LOCALES, "/usr/bin/locale -a 2>/dev/null|")) {
trylocale($_);
}
close(LOCALES);
-} elsif (
$^O eq 'openbsd'
&& -e '/usr/share/locale') {
+} elsif (
($^O eq 'openbsd' || $^O eq 'bitrig' )
&& -e '/usr/share/locale') {
# OpenBSD doesn't have a locale executable, so reading /usr/share/locale
# is much easier and faster than the last resort method.