bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cpio-2.4.2 & glibc-2.*


From: Florian Wunderlich
Subject: cpio-2.4.2 & glibc-2.*
Date: Mon, 18 Dec 2000 16:25:00 +0100

I still do not see a new version of cpio or at least extra patches that
fix it so it works with the glibc. Thus, here is a simple patch to make
it compile with glibc:


diff -u cpio-2.4.2-old/rmt.c cpio-2.4.2/rmt.c
--- cpio-2.4.2-old/rmt.c        Wed Dec 20 17:29:07 1995
+++ cpio-2.4.2/rmt.c    Sun Jul 18 20:19:17 1999
@@ -75,7 +75,6 @@
 char count[SSIZE], mode[SSIZE], pos[SSIZE], op[SSIZE];
 
 extern errno;
-extern char *sys_errlist[];
 char resp[BUFSIZ];
 
 FILE *debug;
diff -u cpio-2.4.2-old/userspec.c cpio-2.4.2/userspec.c
--- cpio-2.4.2-old/userspec.c   Mon Sep 26 22:42:09 1994
+++ cpio-2.4.2/userspec.c       Sun Jul 18 20:19:25 1999
@@ -82,8 +82,6 @@
 
 #define isdigit(c) ((c) >= '0' && (c) <= '9')
 
-char *strdup ();
-
 /* Return nonzero if STR represents an unsigned decimal integer,
    otherwise return 0. */
 


Of course, this should probably be protected with #if instead of simply
deleting it.

Could you please at least upload this to ftp://ftp.gnu.org/pub/gnu/cpio/
so that people don't have to do this over and over again?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]