]> git.pld-linux.org Git - packages/glibc.git/blame - glibc-missing-nls.patch
- update to 2.21; fixes CVE-2015-1472, CVE-2104-7817, CVE-2012-3406, CVE-2014-9402...
[packages/glibc.git] / glibc-missing-nls.patch
CommitLineData
277c4a9d
JB
1--- glibc-2.3.1/sunrpc/rpc_main.c.orig Fri Nov 2 03:15:17 2001
2+++ glibc-2.3.1/sunrpc/rpc_main.c Mon Nov 11 14:07:24 2002
238dd942
AM
3@@ -38,6 +38,7 @@
4 #include <stdio.h>
5 #include <string.h>
6 #include <unistd.h>
7+#include <locale.h>
8 #include <libintl.h>
9 #include <ctype.h>
10 #include <sys/types.h>
277c4a9d
JB
11@@ -185,6 +185,9 @@
12 {
13 struct commandline cmd;
14
15+ setlocale (LC_ALL, "");
16+ textdomain ("libc");
17+
18 (void) memset ((char *) &cmd, 0, sizeof (struct commandline));
19 clear_args ();
20 if (!parseargs (argc, argv, &cmd))
304607d7 21
This page took 0.037989 seconds and 4 git commands to generate.