summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2013-06-05 14:56:45 +0000
committerstsp <stsp@openbsd.org>2013-06-05 14:56:45 +0000
commit1e2c0ba0c60c3033c0c38ad6297274bb978979a6 (patch)
treee2accd8ca0609f6bc71ada08b3ccd9a7353f8fb6
parentplug name_ipool leak in tmpfs_link() (diff)
downloadwireguard-openbsd-1e2c0ba0c60c3033c0c38ad6297274bb978979a6.tar.xz
wireguard-openbsd-1e2c0ba0c60c3033c0c38ad6297274bb978979a6.zip
Add charset to Pig locale name. Without charset the Pig locale won't work.
-rw-r--r--usr.bin/locale/locale.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/locale/locale.c b/usr.bin/locale/locale.c
index b084be7a147..5671c2f774e 100644
--- a/usr.bin/locale/locale.c
+++ b/usr.bin/locale/locale.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: locale.c,v 1.1 2013/06/03 14:27:50 stsp Exp $ */
+/* $OpenBSD: locale.c,v 1.2 2013/06/05 14:56:45 stsp Exp $ */
/*
* Copyright (c) 2013 Stefan Sperling <stsp@openbsd.org>
*
@@ -53,7 +53,8 @@ const char * const some_locales[] = {
"C.UTF-8",
"POSIX",
"POSIX.UTF-8",
- "Pig",
+ "Pig.ISO8859-1",
+ "Pig.UTF-8",
"ar_SD.UTF-8",
"ar_SY.UTF-8",
"bg_BG.CP1251",