aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/110-wget_getopt_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-27 15:21:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-27 15:21:53 +0000
commit1ec1f0bd321d724cb3cb69c60d1f13f231def167 (patch)
tree1b8d9feb014e15b5c429cf4f4089c277057f24e4 /package/busybox/patches/110-wget_getopt_fix.patch
parenteeb61522b53ffd943268104a7019d62202865787 (diff)
downloadupstream-1ec1f0bd321d724cb3cb69c60d1f13f231def167.tar.gz
upstream-1ec1f0bd321d724cb3cb69c60d1f13f231def167.tar.bz2
upstream-1ec1f0bd321d724cb3cb69c60d1f13f231def167.zip
really fix busybox wget command line parsing
SVN-Revision: 6218
Diffstat (limited to 'package/busybox/patches/110-wget_getopt_fix.patch')
-rw-r--r--package/busybox/patches/110-wget_getopt_fix.patch22
1 files changed, 12 insertions, 10 deletions
diff --git a/package/busybox/patches/110-wget_getopt_fix.patch b/package/busybox/patches/110-wget_getopt_fix.patch
index 17b302af6e..8536fced81 100644
--- a/package/busybox/patches/110-wget_getopt_fix.patch
+++ b/package/busybox/patches/110-wget_getopt_fix.patch
@@ -1,11 +1,13 @@
---- busybox.old/networking/wget.c 2007-01-26 21:00:22.421900104 +0100
-+++ busybox.dev/networking/wget.c 2007-01-26 21:00:30.688643368 +0100
-@@ -142,7 +142,7 @@
+diff -ur busybox.old/networking/wget.c busybox.dev/networking/wget.c
+--- busybox.old/networking/wget.c 2007-01-27 15:44:02.235530528 +0100
++++ busybox.dev/networking/wget.c 2007-01-27 15:53:26.549741728 +0100
+@@ -136,7 +136,7 @@
+ { "directory-prefix", required_argument, NULL, 'P' },
+ { "proxy", required_argument, NULL, 'Y' },
+ { "user-agent", required_argument, NULL, 'U' },
+- { "passive-ftp", no_argument, NULL, 0xff },
++ { "passive-ftp", no_argument, NULL, 0xfd },
+ { "header", required_argument, NULL, 0xfe },
+ { 0, 0, 0, 0 }
};
- applet_long_options = wget_long_options;
- #endif
-- opt_complementary = "-1" USE_FEATURE_WGET_LONG_OPTIONS(":\xfe::");
-+ opt_complementary = "-1" USE_FEATURE_WGET_LONG_OPTIONS(":\xfe::\xff");
- opt = getopt32(argc, argv, "cqO:P:Y:U:",
- &fname_out, &dir_prefix,
- &proxy_flag, &user_agent
+Only in busybox.dev/networking: .wget.c.swp