This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.17-636-ga3375d2


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  a3375d299007c7d38de9427cd38ca932b052b048 (commit)
      from  36129722342bed6b3f3729b922c2e513c404ba61 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a3375d299007c7d38de9427cd38ca932b052b048

commit a3375d299007c7d38de9427cd38ca932b052b048
Author: Andreas Jaeger <aj@suse.de>
Date:   Fri May 10 08:06:21 2013 +0200

    Localize rpcgen
    
    	[BZ #15395]
    	* sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
    	localization.
    	Include <locale.h>.

diff --git a/ChangeLog b/ChangeLog
index d9c38d2..17e2e98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-05-10  Andreas Jaeger  <aj@suse.de>
+
+	[BZ #15395]
+	* sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
+	localization.
+	Include <locale.h>.
+
 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
 
 	* elf/dl-close.c (_dl_close_worker): Add comments.
diff --git a/NEWS b/NEWS
index 7412494..01cef27 100644
--- a/NEWS
+++ b/NEWS
@@ -15,8 +15,8 @@ Version 2.18
   14994, 14996, 15003, 15006, 15007, 15020, 15023, 15036, 15054, 15055,
   15062, 15078, 15084, 15085, 15086, 15160, 15214, 15221, 15232, 15234,
   15283, 15285, 15287, 15304, 15305, 15307, 15309, 15327, 15330, 15335,
-  15336, 15337, 15342, 15346, 15359, 15361, 15366, 15380, 15394, 15405,
-  15406, 15409, 15416, 15418, 15419, 15423, 15426, 15429.
+  15336, 15337, 15342, 15346, 15359, 15361, 15366, 15380, 15394, 15395,
+  15405, 15406, 15409, 15416, 15418, 15419, 15423, 15426, 15429.
 
 * CVE-2013-0242 Buffer overrun in regexp matcher has been fixed (Bugzilla
   #15078).
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c
index 1477b43..d03ec99 100644
--- a/sunrpc/rpc_main.c
+++ b/sunrpc/rpc_main.c
@@ -39,6 +39,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <libintl.h>
+#include <locale.h>
 #include <ctype.h>
 #include <sys/types.h>
 #include <sys/param.h>
@@ -173,6 +174,9 @@ main (int argc, const char *argv[])
 {
   struct commandline cmd;
 
+  setlocale (LC_ALL, "");
+  textdomain (_libc_intl_domainname);
+
   (void) memset ((char *) &cmd, 0, sizeof (struct commandline));
   clear_args ();
   if (!parseargs (argc, argv, &cmd))

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    7 +++++++
 NEWS              |    4 ++--
 sunrpc/rpc_main.c |    4 ++++
 3 files changed, 13 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]