[Bug 59228] Re: cpio build glitch breaks Unicode char handling

Fabio Massimo Di Nitto fabbione at ubuntu.com
Thu Sep 28 05:57:44 BST 2006


After reading the bug and patch, my understanding is that an underlayng
define is not set properly. The Debian workaround is to avoid that check
since getlocale() is known to exists on our system by default and it
looks the less intrusive one for a backport.

I am going to install this cpio on my edgy and dapper installs and rerun
the LSB tests together with Marc ASAP and rebuild initramfs to make sure
they don't become foobar.

If time allows, i could use this cpio to rerun edgy rebuild on edgy and
check with debdiff if any package is corrupted but this test might take
at least 3/4 days to run over 20000 pkgs.

Jeff do you know of any other cpio usage by default?

Fabio

+cpio (2.6-17) unstable; urgency=high
+
+  * Fix setlocale glitch.  closes: #381348.
+
+ -- Clint Adams <schizo at debian.org>  Fri,  4 Aug 2006 09:45:10 -0400
+
 cpio (2.6-16) unstable; urgency=low
 
   * Use correct path for rmt.  closes: #293632.
only in patch2:
unchanged:
--- cpio-2.6.orig/lib/system.h
+++ cpio-2.6/lib/system.h
@@ -474,9 +474,6 @@
 #if HAVE_LOCALE_H
 # include <locale.h>
 #endif
-#if !HAVE_SETLOCALE
-# define setlocale(category, locale) /* empty */
-#endif
 
 #include <time.h>
 #if defined(HAVE_SYS_TIME_H) && defined(TIME_WITH_SYS_TIME)


** Changed in: cpio (Ubuntu)
       Target: None => ubuntu-6.10

-- 
cpio build glitch breaks Unicode char handling
https://launchpad.net/bugs/59228



More information about the ubuntu-archive mailing list