pkubat / rpms / cpio

Forked from rpms/cpio 4 years ago
Clone
e032091
--- cpio-2.5.90/doc/cpio.info.rh	2004-02-27 12:42:01.000000000 +0000
e032091
+++ cpio-2.5.90/doc/cpio.info	2004-11-04 14:40:57.000000000 +0000
e032091
@@ -261,7 +261,8 @@
e032091
      Set the I/O block size to BLOCK-SIZE * 512 bytes.
e032091
 
e032091
 `-c'
e032091
-     Use the old portable (ASCII) archive format.
e032091
+     Identical to "-H newc", use the new (SVR4) portable format.
e032091
+     If you wish the old portable (ASCII) archive format, use "-H odc" instead.
e032091
 
e032091
 `-C IO-SIZE, --io-size=IO-SIZE'
e032091
      Set the I/O block size to IO-SIZE bytes.
e032091
--- cpio-2.5.90/src/main.c.rh	2004-09-08 11:41:42.000000000 +0000
e032091
+++ cpio-2.5.90/src/main.c	2004-11-05 11:09:59.869355664 +0000
e032091
@@ -302,6 +302,7 @@
e032091
     case 'c':		/* Use the old portable ASCII format.  */
e032091
       if (archive_format != arf_unknown)
e032091
 	USAGE_ERROR ((0, 0, _("Archive format multiply defined")));
e032091
+#define SVR4_COMPAT
e032091
 #ifdef SVR4_COMPAT
e032091
       archive_format = arf_newascii; /* -H newc.  */
e032091
 #else