|
|
14bb0c |
--- cpio-2.9/doc/cpio.info.rh 2007-06-28 15:25:08.000000000 +0200
|
|
|
14bb0c |
+++ cpio-2.9/doc/cpio.info 2007-07-16 15:10:20.000000000 +0200
|
|
|
14bb0c |
@@ -266,7 +266,8 @@ File: cpio.info, Node: Options, Prev:
|
|
|
14bb0c |
Set the I/O block size to BLOCK-SIZE * 512 bytes.
|
|
|
14bb0c |
|
|
|
14bb0c |
`-c'
|
|
|
14bb0c |
- Use the old portable (ASCII) archive format.
|
|
|
14bb0c |
+ Identical to "-H newc", use the new (SVR4) portable format.
|
|
|
14bb0c |
+ If you wish the old portable (ASCII) archive format, use "-H odc" instead.
|
|
|
14bb0c |
|
|
|
14bb0c |
`-C IO-SIZE'
|
|
|
14bb0c |
`--io-size=IO-SIZE'
|
|
|
14bb0c |
--- cpio-2.9/src/main.c.rh 2007-06-28 12:46:41.000000000 +0200
|
|
|
14bb0c |
+++ cpio-2.9/src/main.c 2007-07-16 15:09:10.000000000 +0200
|
|
|
14bb0c |
@@ -111,7 +111,7 @@ static struct argp_option options[] = {
|
|
|
14bb0c |
{"block-size", BLOCK_SIZE_OPTION, N_("BLOCK-SIZE"), 0,
|
|
|
14bb0c |
N_("Set the I/O block size to BLOCK-SIZE * 512 bytes"), GRID+1 },
|
|
|
14bb0c |
{NULL, 'c', NULL, 0,
|
|
|
14bb0c |
- N_("Use the old portable (ASCII) archive format"), GRID+1 },
|
|
|
14bb0c |
+ N_("Identical to \"-H newc\", use the new (SVR4) portable format.If you wish the old portable (ASCII) archive format, use \"-H odc\" instead."), GRID+1 },
|
|
|
14bb0c |
{"dot", 'V', NULL, 0,
|
|
|
14bb0c |
N_("Print a \".\" for each file processed"), GRID+1 },
|
|
|
14bb0c |
{"io-size", 'C', N_("NUMBER"), 0,
|
|
|
14bb0c |
@@ -338,6 +338,7 @@ parse_opt (int key, char *arg, struct ar
|
|
|
14bb0c |
case 'c': /* Use the old portable ASCII format. */
|
|
|
14bb0c |
if (archive_format != arf_unknown)
|
|
|
14bb0c |
error (0, EXIT_FAILURE, _("Archive format multiply defined"));
|
|
|
14bb0c |
+#define SVR4_COMPAT
|
|
|
14bb0c |
#ifdef SVR4_COMPAT
|
|
|
14bb0c |
archive_format = arf_newascii; /* -H newc. */
|
|
|
14bb0c |
#else
|