SHA256
6
0
forked from pool/cpio
Files
cpio/cpio-2.10-use_new_ascii_format.patch
Michal Seben 5b9e96bf22 Accepting request 22527 from home:rjschwei:branches:Archiving
Copy from home:rjschwei:branches:Archiving/cpio via accept of submit request 22527 revision 2.
Request was accepted with message:
Thanks for patch :)

OBS-URL: https://build.opensuse.org/request/show/22527
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=10
2009-10-19 13:03:42 +00:00

23 lines
744 B
Diff

--- doc/cpio.info
+++ doc/cpio.info 2005/04/25 12:11:02
@@ -262,7 +262,8 @@
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'
Set the I/O block size to IO-SIZE bytes.
--- src/main.c
+++ src/main.c
@@ -337,6 +337,7 @@
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