bug in cp
Denys Vlasenko
vda.linux at googlemail.com
Sun Feb 11 20:26:47 UTC 2018
Applied, thanks.
On Sun, Feb 11, 2018 at 12:14 PM, Sebastian Gottschall
<s.gottschall at dd-wrt.com> wrote:
> the patch getopt32: remove opt_complementary
> 22542eca18e5807b72ddc78999f5101e33f17a53
>
> introduced a regressed in the cp command since it removed all aliases of
> arguments if long_opts is not configured.
>
> so please take care of considering to fix this using the raw unformated
> patch below
>
>
> --- cp.c (revision 34899)
> +++ cp.c (working copy)
> @@ -98,7 +98,7 @@
> "parents\0" No_argument "\xfe"
> );
> #else
> - flags = getopt32(argv, FILEUTILS_CP_OPTSTR);
> + flags = getopt32(argv, "^" FILEUTILS_CP_OPTSTR "\0"
> "-2:l--s:s--l:Pd:rRd:Rd:apdR");
> #endif
> /* Options of cp from GNU coreutils 6.10:
> * -a, --archive
>
> --
> Mit freundlichen Grüssen / Regards
>
> Sebastian Gottschall / CTO
>
> NewMedia-NET GmbH - DD-WRT
> Firmensitz: Stubenwaldallee 21a, 64625 Bensheim
> Registergericht: Amtsgericht Darmstadt, HRB 25473
> Geschäftsführer: Peter Steinhäuser, Christian Scheele
> http://www.dd-wrt.com
> email: s.gottschall at dd-wrt.com
> Tel.: +496251-582650 / Fax: +496251-5826565
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
More information about the busybox
mailing list