blob: bd815159b67a8878859c97c42685fb3b6b4969a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From 58f6259dff804faa416df4f9b1ca2fc61d178585 Mon Sep 17 00:00:00 2001
From: Rich Felker <dalias@aerifal.cx>
Date: Wed, 9 Sep 2015 06:04:42 +0000
Subject: [PATCH] fix breakage in nl_langinfo from previous commit
---
src/locale/langinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/locale/langinfo.c b/src/locale/langinfo.c
index 69693ff..a1ada24 100644
--- a/src/locale/langinfo.c
+++ b/src/locale/langinfo.c
@@ -33,7 +33,7 @@ char *__nl_langinfo_l(nl_item item, locale_t loc)
int idx = item & 65535;
const char *str;
- if (item == CODESET) "UTF-8";
+ if (item == CODESET) return "UTF-8";
switch (cat) {
case LC_NUMERIC:
--
2.5.1
|