Magellan Linux

Contents of /trunk/busybox/patches/busybox-1.20.2-mv-ignore-verbose.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1849 - (show annotations) (download)
Wed Jul 18 11:10:36 2012 UTC (11 years, 9 months ago) by niro
File size: 571 byte(s)
-added patch to ignore verbsoe mode option in mv
1 diff -Naur busybox-1.20.2/coreutils/mv.c busybox-1.20.2-magellan/coreutils/mv.c
2 --- busybox-1.20.2/coreutils/mv.c 2012-07-02 16:08:25.000000000 +0200
3 +++ busybox-1.20.2-magellan/coreutils/mv.c 2012-07-18 15:05:13.494982797 +0200
4 @@ -58,7 +58,8 @@
5 * If more than one of -f, -i, -n is specified , only the final one
6 * takes effect (it unsets previous options). */
7 opt_complementary = "-2:f-in:i-fn:n-fi";
8 - flags = getopt32(argv, "fin");
9 + /* -v (verbose) is ignored */
10 + flags = getopt32(argv, "finv");
11 argc -= optind;
12 argv += optind;
13 last = argv[argc - 1];