[patch] fix long opts for wget applet
Csaba Henk
csaba-ml at creo.hu
Sun Aug 20 19:39:39 UTC 2006
Hi,
Seems we need the included patch to get long opts working for wget.
Csaba
Index: networking/wget.c
===================================================================
--- networking/wget.c (revision 15826)
+++ networking/wget.c (working copy)
@@ -133,7 +133,7 @@
#define WGET_OPT_PREFIX 32
#define WGET_OPT_PROXY 64
-#if ENABLE_WGET_LONG_OPTIONS
+#if ENABLE_FEATURE_WGET_LONG_OPTIONS
static const struct option wget_long_options[] = {
{ "continue", 0, NULL, 'c' },
{ "quiet", 0, NULL, 'q' },
@@ -177,7 +177,7 @@
* Crack command line.
*/
bb_opt_complementally = "-1:\203::";
-#if ENABLE_WGET_LONG_OPTIONS
+#if ENABLE_FEATURE_WGET_LONG_OPTIONS
bb_applet_long_options = wget_long_options;
#endif
opt = bb_getopt_ulflags(argc, argv, "cq\213O:\203:P:Y:",
More information about the busybox
mailing list