X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1406fcdcc0448a019a00f8af0f90ce252fe1adc7..03c1e266f1773bf19ec443a5c563ddfb0d13e49c:/package/busybox/patches/110-wget_getopt_fix.patch?ds=sidebyside diff --git a/package/busybox/patches/110-wget_getopt_fix.patch b/package/busybox/patches/110-wget_getopt_fix.patch index 17b302af6..9b59c61e6 100644 --- a/package/busybox/patches/110-wget_getopt_fix.patch +++ b/package/busybox/patches/110-wget_getopt_fix.patch @@ -1,11 +1,11 @@ ---- 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 @@ - }; - applet_long_options = wget_long_options; +--- a/networking/wget.c ++++ b/networking/wget.c +@@ -437,7 +437,7 @@ int wget_main(int argc ATTRIBUTE_UNUSED, + "directory-prefix\0" Required_argument "P" + "proxy\0" Required_argument "Y" + "user-agent\0" Required_argument "U" +- "passive-ftp\0" No_argument "\xff" ++ "passive-ftp\0" No_argument "\xfd" + "header\0" Required_argument "\xfe" + ; #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