Project Info Name.......: gnu-hello
Description: GNU Hello


gnu-hello       
Info
Commit...:3605ace19c8babd13835623d1d158c3ff024b89c
Author...:karl <>
Committer:karl <>
Date.....:Tue Oct 17 21:37:30 2006 +0000
Parents..:b19c377fe74e318415fc753d34f31da3a1849d73

Message
[project @ 2006-10-17 21:37:30 by karl]
do not #if on SETLOCALE, we do not check for it

Changes
diff --git a/src/ChangeLog b/src/ChangeLog
line changes: +4/-0
index ceaf454..45a3851
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-16  Bruno Haible  <bruno@clisp.org>
+
+	* hello.c (main): Remove HAVE_SETLOCALE conditional.
+
 2006-10-16  Karl Berry  <karl@gnu.org>
 
 	* hello.c (main): compare getopt_long result to -1, not EOF, since

diff --git a/src/hello.c b/src/hello.c
line changes: +0/-2
index e5d39d0..30ffbef
--- a/src/hello.c
+++ b/src/hello.c
@@ -42,10 +42,8 @@ main (int argc, char *argv[])
 
   program_name = argv[0];
 
-#if HAVE_SETLOCALE
   /* Set locale via LC_ALL.  */
   setlocale (LC_ALL, "");
-#endif
 
 #if ENABLE_NLS
   /* Set the text message domain.  */

This website is licensed under AGPL-3.0. Feel free to copy!