X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/32a92c2df9ea984e82b7d5195f2f183fc1562387..deb7ff887ecf5669e6eec4917e0a72d8ff6de431:/package/busybox/patches/110-wget_getopt_fix.patch diff --git a/package/busybox/patches/110-wget_getopt_fix.patch b/package/busybox/patches/110-wget_getopt_fix.patch index 8536fced8..501f60848 100644 --- a/package/busybox/patches/110-wget_getopt_fix.patch +++ b/package/busybox/patches/110-wget_getopt_fix.patch @@ -1,13 +1,11 @@ -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 } - }; -Only in busybox.dev/networking: .wget.c.swp +--- 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) */