zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Make D07 recognize more spellings of pl_PL.UTF-8
@ 2017-01-24 11:03 Mikael Magnusson
  0 siblings, 0 replies; only message in thread
From: Mikael Magnusson @ 2017-01-24 11:03 UTC (permalink / raw)
  To: zsh-workers

On at least OpenBSD 5.8, locale -a lists it as pl_PL.UTF-8 instead of
pl_PL.utf8 as glibc does.

---
 Test/D07multibyte.ztst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
index d5a15ef048..bd7df81775 100644
--- a/Test/D07multibyte.ztst
+++ b/Test/D07multibyte.ztst
@@ -551,7 +551,7 @@
   : $functions)
 0:Multibtye handling of functions parameter
 
-  if [[ -n ${$(locale -a 2>/dev/null)[(R)pl_PL.utf8]} ]]; then
+  if [[ -n ${$(locale -a 2>/dev/null)[(R)pl_PL.(utf8|UTF-8)]} ]]; then
   (
     export LC_ALL=pl_PL.UTF-8
     local -a names=(a b c d e f $'\u0105' $'\u0107' $'\u0119')
-- 
2.8.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-27  6:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-24 11:03 PATCH: Make D07 recognize more spellings of pl_PL.UTF-8 Mikael Magnusson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).