[package] block-extroot: r20784 reverted r20735, add it back (#7104)
[openwrt.git] / package / busybox / patches / 110-wget_getopt_fix.patch
index 17b302a..501f608 100644 (file)
@@ -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;
- #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
+--- a/networking/wget.c
++++ b/networking/wget.c
+@@ -543,7 +543,7 @@ int wget_main(int argc UNUSED_PARAM, cha
+               // "tries\0"            Required_argument "t"
+               // "timeout\0"          Required_argument "T"
+               /* Ignored (we always use PASV): */
+-              "passive-ftp\0"      No_argument       "\xff"
++              "passive-ftp\0"      No_argument       "\xfd"
+               "header\0"           Required_argument "\xfe"
+               "post-data\0"        Required_argument "\xfd"
+               /* Ignored (we don't do ssl) */
This page took 0.023152 seconds and 4 git commands to generate.