On Feb 9, 2008 11:33 AM, Sergey Poznyakoff <[EMAIL PROTECTED]> wrote: > Hi Ladislav, > > There are also some patches which you can consider to apply. > > For example cpio-2.9-use_new_ascii_format.patch is widely used in > > distros like Mandriva, Red Hat and openSUSE. > > I have strong doubts about that one. First of all, patching .info file > is entirely senseless. Secondly, the `-c' switch was used for years for > old ASCII format and changing it brusquely will hurt backward > compatibility. Thirdly, the proposed code > > #define SVR4_COMPAT > #ifdef SVR4_COMPAT > archive_format = arf_newascii; /* -H newc. */ > #else > > is an example of a pretty dirty way of writing. > > Returning to the matter, is there any practical reason for changing the > meaning of `-c', apart from the fact that some distros use it?
I'm not the author of the patch, so I don't have my own arguments why to use it. I think you're right, no need to push this patch. Regards Ladislav. _______________________________________________ Bug-cpio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-cpio
