aboutsummaryrefslogtreecommitdiff
path: root/nis
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-05-27 07:05:32 +0000
committerUlrich Drepper <drepper@redhat.com>2001-05-27 07:05:32 +0000
commitb912ca1144ef3e8f006c714805cfb9cc61dfbaca (patch)
treec89a7a06f51213f72f673d6ba5fdb022cde32b22 /nis
parent995a692a486b2e250f598097543dd04135cec327 (diff)
downloadglibc-b912ca1144ef3e8f006c714805cfb9cc61dfbaca.tar
glibc-b912ca1144ef3e8f006c714805cfb9cc61dfbaca.tar.gz
glibc-b912ca1144ef3e8f006c714805cfb9cc61dfbaca.tar.bz2
glibc-b912ca1144ef3e8f006c714805cfb9cc61dfbaca.zip
Update.
2001-05-25 Bruce Mitchener <bruce@cubik.org> * manual/ctype.texi: Minor fix. * manual/install.texi: Likewise. * manual/startup.texi: Likewise. * manual/examples/dir.c: Use perror() rather than puts(). 2001-05-25 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following #endif directive inside a comment to avoid compiler warnings. 2001-05-25 Philipp Thomas <pthomas@suse.de> * nis/nis_print.c (nis_nstype2str): Don't mark names of naming services for translation, only UNKNOWN needs it. Add comment to prevent it for the future. 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk> * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC 3.1 and non-GCC C99 compilers.
Diffstat (limited to 'nis')
-rw-r--r--nis/nis_print.c19
1 files changed, 11 insertions, 8 deletions
diff --git a/nis/nis_print.c b/nis/nis_print.c
index ab5f6838bd..467ae6b9db 100644
--- a/nis/nis_print.c
+++ b/nis/nis_print.c
@@ -26,24 +26,27 @@
static const char *
nis_nstype2str (const nstype type)
{
+
+/* Name service names mustn't be translated, only UNKNOWN needs it */
+
switch (type)
{
case NIS:
- return N_("NIS");
+ return "NIS";
case SUNYP:
- return N_("SUNYP");
+ return "SUNYP";
case IVY:
- return N_("IVY");
+ return "IVY";
case DNS:
- return N_("DNS");
+ return "DNS";
case X500:
- return N_("X500");
+ return "X500";
case DNANS:
- return N_("DNANS");
+ return "DNANS";
case XCHS:
- return N_("XCHS");
+ return "XCHS";
case CDS:
- return N_("CDS");
+ return "CDS";
default:
return N_("UNKNOWN");
}