From bb6e8ca30a0c8fab107d8f3d0ebeee6716ca365f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 26 Jun 2005 18:28:35 +0000 Subject: * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR with own translation. * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast t2 to uint32_t instead of ulong. * sunrpc/Makefile (tests): Add tst-xdrmem. * sunrpc/tst-xdrmem.c: New test. --- nscd/nscd_stat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nscd') diff --git a/nscd/nscd_stat.c b/nscd/nscd_stat.c index 9231642278..8bf50f39f4 100644 --- a/nscd/nscd_stat.c +++ b/nscd/nscd_stat.c @@ -1,4 +1,4 @@ -/* Copyright (c) 1998, 2003, 2004 Free Software Foundation, Inc. +/* Copyright (c) 1998, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk , 1998. @@ -143,8 +143,8 @@ receive_print_stats (void) int fd; int i; uid_t uid = getuid (); - const char *yesstr = nl_langinfo (YESSTR); - const char *nostr = nl_langinfo (NOSTR); + const char *yesstr = _("yes"); + const char *nostr = _("no"); /* Find out whether there is another user but root allowed to request statistics. */ -- cgit 1.4.1