6600438bbd
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=ec6713ec3ebe5e0f61b02764b7cf96a9
27 lines
945 B
Diff
27 lines
945 B
Diff
Index: doc/cpio.info
|
|
===================================================================
|
|
--- doc/cpio.info.orig
|
|
+++ doc/cpio.info
|
|
@@ -266,7 +266,8 @@ File: cpio.info, Node: Options, Prev:
|
|
Set the I/O block size to BLOCK-SIZE * 512 bytes.
|
|
|
|
`-c'
|
|
- Use the old portable (ASCII) archive format.
|
|
+ Identical to "-H newc", use the new (SVR4) portable format.
|
|
+ If you wish the old portable (ASCII) archive format, use "-H odc" instead.
|
|
|
|
`-C IO-SIZE'
|
|
`--io-size=IO-SIZE'
|
|
Index: src/main.c
|
|
===================================================================
|
|
--- src/main.c.orig
|
|
+++ src/main.c
|
|
@@ -339,6 +339,7 @@ parse_opt (int key, char *arg, struct ar
|
|
case 'c': /* Use the old portable ASCII format. */
|
|
if (archive_format != arf_unknown)
|
|
error (0, EXIT_FAILURE, _("Archive format multiply defined"));
|
|
+#define SVR4_COMPAT
|
|
#ifdef SVR4_COMPAT
|
|
archive_format = arf_newascii; /* -H newc. */
|
|
#else
|