fix wget --passive-ftp
[openwrt/openwrt.git] / package / busybox / patches / 110-wget_getopt_fix.patch
1 --- busybox.old/networking/wget.c 2007-01-26 21:00:22.421900104 +0100
2 +++ busybox.dev/networking/wget.c 2007-01-26 21:00:30.688643368 +0100
3 @@ -142,7 +142,7 @@
4 };
5 applet_long_options = wget_long_options;
6 #endif
7 - opt_complementary = "-1" USE_FEATURE_WGET_LONG_OPTIONS(":\xfe::");
8 + opt_complementary = "-1" USE_FEATURE_WGET_LONG_OPTIONS(":\xfe::\xff");
9 opt = getopt32(argc, argv, "cqO:P:Y:U:",
10 &fname_out, &dir_prefix,
11 &proxy_flag, &user_agent