view sources/patches/busybox-svn22557.patch @ 358:9829e6cc8637

Update busybox from 1.2.2 to 1.11.0. Toybox i still used for oneit and patch, but otherwise disabled for the moment. I'll put it back in a bit, but waiting until toybox is ready to replace busybox makes as much sense as waiting until tinycc is ready to replace gcc. Get it working first, then swap parts around...
author Rob Landley <rob@landley.net>
date Sun, 06 Jul 2008 06:19:15 -0500
parents
children
line wrap: on
line source

 ------------------------------------------------------------------------
r22557 | vda | 2008-06-28 19:32:35 -0500 (Sat, 28 Jun 2008) | 3 lines

wget: "support" -t and -T by ignoring them


 ------------------------------------------------------------------------
Index: networking/wget.c
===================================================================
--- busybox/networking/wget.c	(revision 22556)
+++ busybox/networking/wget.c	(revision 22557)
@@ -449,9 +449,11 @@
 #endif
 	/* server.allocated = target.allocated = NULL; */
 	opt_complementary = "-1" USE_FEATURE_WGET_LONG_OPTIONS(":\xfe::");
-	opt = getopt32(argv, "csqO:P:Y:U:",
+	opt = getopt32(argv, "csqO:P:Y:U:" /*ignored:*/ "t:T:",
 				&fname_out, &dir_prefix,
-				&proxy_flag, &user_agent
+				&proxy_flag, &user_agent,
+				NULL, /* -t RETRIES */
+				NULL /* -T NETWORK_READ_TIMEOUT */
 				USE_FEATURE_WGET_LONG_OPTIONS(, &headers_llist)
 				);
 	if (strcmp(proxy_flag, "off") == 0) {