Please consider allowing nis 3.17-17 into testing.  It has been in
unstable for over 10 days and works around an important bug which
prevents the display of records with multi-byte characters in UTF8
locales.

nis (3.17-17) unstable; urgency=low

   * Force locale for ypcat to C in order to work around errors from
     fprintf() with multi-byte characters (closes: #487104).

 -- Mark Brown <[EMAIL PROTECTED]>  Tue, 26 Aug 2008 20:24:44 +0100

The code change introduced for this is:

--- nis-3.17.orig/yp-tools-2.9/src/ypcat.c
+++ nis-3.17/yp-tools-2.9/src/ypcat.c
@@ -120,8 +120,8 @@
   char *domainname = NULL;
   char *hostname = NULL;
 
-  setlocale (LC_MESSAGES, "");
-  setlocale (LC_CTYPE, "");
+  setlocale (LC_MESSAGES, "C");
+  setlocale (LC_CTYPE, "C");
   bindtextdomain (PACKAGE, LOCALEDIR);
   textdomain (PACKAGE);
 
-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to