From b912ca1144ef3e8f006c714805cfb9cc61dfbaca Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 27 May 2001 07:05:32 +0000 Subject: Update. 2001-05-25 Bruce Mitchener * 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 * 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 * 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 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC 3.1 and non-GCC C99 compilers. --- nis/nis_print.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'nis') diff --git a/nis/nis_print.c b/nis/nis_print.c index ab5f683..467ae6b 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"); } -- cgit v1.1