[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Jim Meyering meyering at alioth.debian.org
Thu Aug 16 14:48:46 UTC 2007


 partprobe/partprobe.c |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 81ccd3f6e5acee515f5778111376666d88349025
Author: Benno Schulenberg <bensberg at justemail.net>
Date:   Thu Aug 16 16:24:50 2007 +0200

    Set partprobe's text domain.
    
    * partprobe/partprobe.c (main): Set textdomain.

diff --git a/partprobe/partprobe.c b/partprobe/partprobe.c
index d494384..d324167 100644
--- a/partprobe/partprobe.c
+++ b/partprobe/partprobe.c
@@ -164,6 +164,11 @@ main (int argc, char* argv[])
 	int		status = 0;
 
 	program_name = argv[0];
+
+	setlocale (LC_ALL, "");
+	bindtextdomain (PACKAGE, LOCALEDIR);
+	textdomain (PACKAGE);
+
 	atexit (close_stdout);
 
 	int c;



More information about the Parted-commits mailing list