Skip to contentSkip to conversation

mkfs.bfs: add setlocale

PATCH Applied Davidlohr Bueso 2 participants 2 messages Feb 14, 2012 – Feb 22, 2012 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 mkfs.bfs: add setlocale

From: Davidlohr Bueso <[email protected]>

---
 disk-utils/mkfs.bfs.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
disk-utils/mkfs.bfs.c +4 -0
index cbb09e0..6e5f012 100644
@@ -115,6 +115,10 @@ int main(int argc, char **argv)
 		{NULL, 0, NULL, 0}
 	};
 
+	setlocale(LC_ALL, "");
+	bindtextdomain(PACKAGE, LOCALEDIR);
+	textdomain(PACKAGE);
+
 	if (argc < 2)
 		usage(stderr);
 
Signature · 1 line
1.7.4.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Davidlohr Bueso
 disk-utils/mkfs.bfs.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com