wok-stable annotate busybox/stuff/busybox-1.18.1-cpio.u @ rev 8032
Disabled static and debug in both xfce4-settings and xfwm4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Jan 19 21:54:37 2011 +0000 (2011-01-19) |
parents | |
children |
rev | line source |
---|---|
pascal@7776 | 1 Enable filters for cpio -i and cpio -t |
pascal@7776 | 2 --- busybox-1.18.1/archival/cpio.c |
pascal@7776 | 3 +++ busybox-1.18.1/archival/cpio.c |
pascal@7776 | 4 @@ -309,7 +309,7 @@ |
pascal@7776 | 5 |
pascal@7776 | 6 #if !ENABLE_FEATURE_CPIO_O |
pascal@7776 | 7 /* no parameters */ |
pascal@7776 | 8 - opt_complementary = "=0"; |
pascal@7776 | 9 + // -i may have parameters //opt_complementary = "=0"; |
pascal@7776 | 10 opt = getopt32(argv, OPTION_STR, &cpio_filename); |
pascal@7776 | 11 argv += optind; |
pascal@7776 | 12 if (opt & CPIO_OPT_FILE) { /* -F */ |
pascal@7776 | 13 @@ -317,7 +317,7 @@ |
pascal@7776 | 14 } |
pascal@7776 | 15 #else |
pascal@7776 | 16 /* _exactly_ one parameter for -p, thus <= 1 param if -p is allowed */ |
pascal@7776 | 17 - opt_complementary = ENABLE_FEATURE_CPIO_P ? "?1" : "=0"; |
pascal@7776 | 18 + // -i may have parameters //opt_complementary = ENABLE_FEATURE_CPIO_P ? "?1" : "=0"; |
pascal@7776 | 19 opt = getopt32(argv, OPTION_STR "oH:" IF_FEATURE_CPIO_P("p"), &cpio_filename, &cpio_fmt); |
pascal@7776 | 20 argv += optind; |
pascal@7776 | 21 if ((opt & (CPIO_OPT_FILE|CPIO_OPT_CREATE)) == CPIO_OPT_FILE) { /* -F without -o */ |