Upgrade busybox to 1.7.2
[openwrt-10.03/.git] / package / busybox / patches / 110-wget_getopt_fix.patch
index 17b302af6ef10c3e3c4847786ccb61d78227f0bf..657f83a71acabe4059365c6d6fb2d758a9a906d4 100644 (file)
@@ -1,11 +1,13 @@
---- 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
+Index: busybox-1.7.2/networking/wget.c
+===================================================================
+--- busybox-1.7.2.orig/networking/wget.c       2007-10-04 14:35:17.057059834 +0200
++++ busybox-1.7.2/networking/wget.c    2007-10-04 14:35:27.013627222 +0200
+@@ -140,7 +140,7 @@
+               "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"
+               ;
+       applet_long_options = wget_longopts;