diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-06-26 18:28:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-06-26 18:28:35 +0000 |
commit | bb6e8ca30a0c8fab107d8f3d0ebeee6716ca365f (patch) | |
tree | 54a8215a557f3408c462774619e3eaed69f0a927 /nscd | |
parent | 35f1e82763326f196fd068e92343643d8ed54ee3 (diff) | |
download | glibc-bb6e8ca30a0c8fab107d8f3d0ebeee6716ca365f.tar.gz glibc-bb6e8ca30a0c8fab107d8f3d0ebeee6716ca365f.tar.xz glibc-bb6e8ca30a0c8fab107d8f3d0ebeee6716ca365f.zip |
* 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.
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/nscd_stat.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <kukuk@vt.uni-paderborn.de>, 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. */ |