Comment 2 for bug 59228

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

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 <email address hidden> 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)