Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.2:Rings:0-Bootstrap
cpio
cpio-use_new_ascii_format.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cpio-use_new_ascii_format.patch of Package cpio
Index: doc/cpio.info =================================================================== --- doc/cpio.info.orig +++ doc/cpio.info @@ -216,7 +216,8 @@ option, e.g.: '-B' Set the I/O block size to 5120 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 NUMBER' '--io-size=NUMBER' Set the I/O block size to the given NUMBER of bytes. @@ -296,7 +297,8 @@ option. '-B' Set the I/O block size to 5120 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 NUMBER' '--io-size=NUMBER' Set the I/O block size to the given NUMBER of bytes. @@ -406,7 +408,8 @@ option. '-B' Set the I/O block size to 5120 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 NUMBER' '--io-size=NUMBER' Set the I/O block size to the given NUMBER of bytes. @@ -554,7 +557,8 @@ option is valid. '-c' [*note copy-in::,*note copy-out::,*note copy-pass::] - 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 @@ -329,6 +329,7 @@ parse_opt (int key, char *arg, struct ar case 'c': /* Use the old portable ASCII format. */ if (archive_format != arf_unknown) USAGE_ERROR ((0, 0, _("Archive format multiply defined"))); +#define SVR4_COMPAT #ifdef SVR4_COMPAT archive_format = arf_newascii; /* -H newc. */ #else
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor