public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4/4] mkfs.bfs: add setlocale
@ 2012-02-14 11:13 Davidlohr Bueso
  2012-02-22 10:56 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Davidlohr Bueso @ 2012-02-14 11:13 UTC (permalink / raw)
  To: Karel Zak; +Cc: util-linux

From: Davidlohr Bueso <dave@gnu.org>

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
 disk-utils/mkfs.bfs.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/disk-utils/mkfs.bfs.c b/disk-utils/mkfs.bfs.c
index cbb09e0..6e5f012 100644
--- a/disk-utils/mkfs.bfs.c
+++ b/disk-utils/mkfs.bfs.c
@@ -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);
 
-- 
1.7.4.1







^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 4/4] mkfs.bfs: add setlocale
  2012-02-14 11:13 [PATCH 4/4] mkfs.bfs: add setlocale Davidlohr Bueso
@ 2012-02-22 10:56 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2012-02-22 10:56 UTC (permalink / raw)
  To: Davidlohr Bueso; +Cc: util-linux

On Tue, Feb 14, 2012 at 12:13:19PM +0100, Davidlohr Bueso wrote:
>  disk-utils/mkfs.bfs.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-22 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-14 11:13 [PATCH 4/4] mkfs.bfs: add setlocale Davidlohr Bueso
2012-02-22 10:56 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox