Date:2011-04-20 04:56:23 (12 years 11 months ago)
Author:nbd
Commit:3564c671b16526b562867769a10b03f356e70078
Message:busybox: refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26738 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: package/busybox/patches/001-init_avoid_loop_opening_tty.patch (1 diff)
package/busybox/patches/003-brctl_show_fix.patch (1 diff)
package/busybox/patches/110-wget_getopt_fix.patch (1 diff)
package/busybox/patches/200-etc_crontabs.patch (1 diff)
package/busybox/patches/240-udhcpc_retries.patch (2 diffs)
package/busybox/patches/241-udhcpc-oversized_packets.patch (6 diffs)
package/busybox/patches/242-udhcpc_msgs.patch (1 diff)
package/busybox/patches/243-udhcpc_changed_ifindex.patch (1 diff)
package/busybox/patches/250-ash_export-n.patch (2 diffs)
package/busybox/patches/300-netmsg.patch (5 diffs)
package/busybox/patches/310-passwd_access.patch (1 diff)
package/busybox/patches/340-lock_util.patch (3 diffs)
package/busybox/patches/350-httpd_redir.patch (8 diffs)
package/busybox/patches/410-httpd_cgi_headers.patch (1 diff)
package/busybox/patches/440-httpd_chdir.patch (1 diff)
package/busybox/patches/470-insmod_search.patch (3 diffs)
package/busybox/patches/510-awk_include.patch (7 diffs)
package/busybox/patches/524-udhcpc_renew.patch (1 diff)
package/busybox/patches/803-id_getgrouplist.patch (4 diffs)
package/busybox/patches/910-insmod-q-flag.patch (3 diffs)

Change Details

package/busybox/patches/001-init_avoid_loop_opening_tty.patch
11--- a/init/init.c
22+++ b/init/init.c
3@@ -460,8 +460,11 @@ static void run_actions(int action_type)
3@@ -572,8 +572,11 @@ static void run_actions(int action_type)
44             /* Only run stuff with pid == 0. If pid != 0,
55              * it is already running
66              */
package/busybox/patches/003-brctl_show_fix.patch
2020     int fd;
2121--- a/networking/Config.src
2222+++ b/networking/Config.src
23@@ -79,12 +79,12 @@ config FEATURE_BRCTL_FANCY
23@@ -82,12 +82,12 @@ config FEATURE_BRCTL_FANCY
2424       This adds about 600 bytes.
2525
2626 config FEATURE_BRCTL_SHOW
package/busybox/patches/110-wget_getopt_fix.patch
11--- a/networking/wget.c
22+++ b/networking/wget.c
3@@ -545,7 +545,7 @@ int wget_main(int argc UNUSED_PARAM, cha
3@@ -597,7 +597,7 @@ int wget_main(int argc UNUSED_PARAM, cha
4         /* Ignored: */
45         // "tries\0" Required_argument "t"
5         // "timeout\0" Required_argument "T"
66         /* Ignored (we always use PASV): */
77- "passive-ftp\0" No_argument "\xff"
88+ "passive-ftp\0" No_argument "\xfd"
package/busybox/patches/200-etc_crontabs.patch
77-#define CRONTABS CONFIG_FEATURE_CROND_DIR "/crontabs"
88+#define CRONTABS "/etc/crontabs"
99 #ifndef SENDMAIL
10 #define SENDMAIL "sendmail"
10 # define SENDMAIL "sendmail"
1111 #endif
1212--- a/miscutils/crontab.c
1313+++ b/miscutils/crontab.c
package/busybox/patches/240-udhcpc_retries.patch
11--- a/networking/udhcp/dhcpc.c
22+++ b/networking/udhcp/dhcpc.c
3@@ -1017,7 +1017,7 @@ int udhcpc_main(int argc UNUSED_PARAM, c
3@@ -1196,7 +1196,7 @@ int udhcpc_main(int argc UNUSED_PARAM, c
44
55             switch (state) {
66             case INIT_SELECTING:
...... 
99                     if (packet_num == 0)
1010                         xid = random_xid();
1111                     /* broadcast */
12@@ -1046,7 +1046,7 @@ int udhcpc_main(int argc UNUSED_PARAM, c
12@@ -1225,7 +1225,7 @@ int udhcpc_main(int argc UNUSED_PARAM, c
1313                 packet_num = 0;
1414                 continue;
1515             case REQUESTING:
package/busybox/patches/241-udhcpc-oversized_packets.patch
1diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c
2index 2b7528c..94e53dc 100644
31--- a/networking/udhcp/packet.c
42+++ b/networking/udhcp/packet.c
5@@ -165,6 +165,11 @@ uint16_t FAST_FUNC udhcp_checksum(void *addr, int count)
3@@ -165,6 +165,11 @@ uint16_t FAST_FUNC udhcp_checksum(void *
64     return ~sum;
75 }
86
...... 
1412 /* Construct a ip/udp header for a packet, send packet */
1513 int FAST_FUNC udhcp_send_raw_packet(struct dhcp_packet *dhcp_pkt,
1614         uint32_t source_nip, int source_port,
17@@ -173,10 +178,10 @@ int FAST_FUNC udhcp_send_raw_packet(struct dhcp_packet *dhcp_pkt,
15@@ -173,10 +178,10 @@ int FAST_FUNC udhcp_send_raw_packet(stru
1816 {
1917     struct sockaddr_ll dest_sll;
2018     struct ip_udp_dhcp_packet packet;
...... 
2624
2725     fd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP));
2826     if (fd < 0) {
29@@ -185,8 +190,8 @@ int FAST_FUNC udhcp_send_raw_packet(struct dhcp_packet *dhcp_pkt,
27@@ -185,8 +190,8 @@ int FAST_FUNC udhcp_send_raw_packet(stru
3028     }
3129
3230     memset(&dest_sll, 0, sizeof(dest_sll));
...... 
3735
3836     dest_sll.sll_family = AF_PACKET;
3937     dest_sll.sll_protocol = htons(ETH_P_IP);
40@@ -199,36 +204,24 @@ int FAST_FUNC udhcp_send_raw_packet(struct dhcp_packet *dhcp_pkt,
38@@ -199,36 +204,24 @@ int FAST_FUNC udhcp_send_raw_packet(stru
4139         goto ret_close;
4240     }
4341
...... 
8078             (struct sockaddr *) &dest_sll, sizeof(dest_sll));
8179     msg = "sendto";
8280  ret_close:
83@@ -246,7 +239,6 @@ int FAST_FUNC udhcp_send_kernel_packet(struct dhcp_packet *dhcp_pkt,
81@@ -246,7 +239,6 @@ int FAST_FUNC udhcp_send_kernel_packet(s
8482         uint32_t dest_nip, int dest_port)
8583 {
8684     struct sockaddr_in client;
...... 
8886     int fd;
8987     int result = -1;
9088     const char *msg;
91@@ -277,9 +269,7 @@ int FAST_FUNC udhcp_send_kernel_packet(struct dhcp_packet *dhcp_pkt,
89@@ -277,9 +269,7 @@ int FAST_FUNC udhcp_send_kernel_packet(s
9290     }
9391
9492     udhcp_dump_packet(dhcp_pkt);
package/busybox/patches/242-udhcpc_msgs.patch
11--- a/networking/udhcp/dhcpc.c
22+++ b/networking/udhcp/dhcpc.c
3@@ -428,6 +428,7 @@ static int raw_bcast_from_client_config_
4 static int send_discover(uint32_t xid, uint32_t requested)
3@@ -436,6 +436,7 @@ static int raw_bcast_from_client_config_
4 static NOINLINE int send_discover(uint32_t xid, uint32_t requested)
55 {
66     struct dhcp_packet packet;
77+ static int msgs = 0;
88
9     init_packet(&packet, DHCPDISCOVER);
10     packet.xid = xid;
11@@ -438,6 +439,7 @@ static int send_discover(uint32_t xid, u
12     udhcp_add_simple_option(&packet, DHCP_MAX_SIZE, htons(576));
9     /* Fill in: op, htype, hlen, cookie, chaddr fields,
10      * random xid field (we override it below),
11@@ -453,6 +454,7 @@ static NOINLINE int send_discover(uint32
12      */
1313     add_client_options(&packet);
1414
1515+ if (msgs++ < 3)
package/busybox/patches/243-udhcpc_changed_ifindex.patch
11--- a/networking/udhcp/dhcpc.c
22+++ b/networking/udhcp/dhcpc.c
3@@ -980,6 +980,12 @@ int udhcpc_main(int argc UNUSED_PARAM, c
3@@ -1144,6 +1144,12 @@ int udhcpc_main(int argc UNUSED_PARAM, c
44         /* silence "uninitialized!" warning */
55         unsigned timestamp_before_wait = timestamp_before_wait;
66
package/busybox/patches/250-ash_export-n.patch
11--- a/shell/ash.c
22+++ b/shell/ash.c
3@@ -12429,8 +12429,17 @@ exportcmd(int argc UNUSED_PARAM, char **
3@@ -12532,8 +12532,17 @@ exportcmd(int argc UNUSED_PARAM, char **
44     const char *p;
55     char **aptr;
66     int flag = argv[0][0] == 'r' ? VREADONLY : VEXPORT;
...... 
1919         aptr = argptr;
2020         name = *aptr;
2121         if (name) {
22@@ -12442,10 +12451,12 @@ exportcmd(int argc UNUSED_PARAM, char **
22@@ -12545,10 +12554,12 @@ exportcmd(int argc UNUSED_PARAM, char **
2323                     vp = *findvar(hashvar(name), name);
2424                     if (vp) {
2525                         vp->flags |= flag;
package/busybox/patches/300-netmsg.patch
1diff --git a/include/applets.src.h b/include/applets.src.h
2index f4fab53..f97f2d8 100644
31--- a/include/applets.src.h
42+++ b/include/applets.src.h
5@@ -256,6 +256,7 @@ IF_MT(APPLET(mt, _BB_DIR_BIN, _BB_SUID_DROP))
3@@ -256,6 +256,7 @@ IF_MT(APPLET(mt, _BB_DIR_BIN, _BB_SUID_D
64 IF_MV(APPLET(mv, _BB_DIR_BIN, _BB_SUID_DROP))
75 IF_NAMEIF(APPLET(nameif, _BB_DIR_SBIN, _BB_SUID_DROP))
86 IF_NC(APPLET(nc, _BB_DIR_USR_BIN, _BB_SUID_DROP))
...... 
108 IF_NETSTAT(APPLET(netstat, _BB_DIR_BIN, _BB_SUID_DROP))
119 IF_NICE(APPLET(nice, _BB_DIR_BIN, _BB_SUID_DROP))
1210 IF_NMETER(APPLET(nmeter, _BB_DIR_USR_BIN, _BB_SUID_DROP))
13diff --git a/include/usage.src.h b/include/usage.src.h
14index 30fef24..ac78992 100644
1511--- a/include/usage.src.h
1612+++ b/include/usage.src.h
1713@@ -1,3 +1,4 @@
...... 
2925 #define nmeter_trivial_usage \
3026        "format_string"
3127 #define nmeter_full_usage "\n\n" \
32diff --git a/networking/Config.src b/networking/Config.src
33index 6dd7df7..4682dd3 100644
3428--- a/networking/Config.src
3529+++ b/networking/Config.src
3630@@ -640,6 +640,12 @@ config FEATURE_NAMEIF_EXTENDED
...... 
4640 config NETSTAT
4741     bool "netstat"
4842     default y
49diff --git a/networking/Kbuild.src b/networking/Kbuild.src
50index f41a2df..6070a40 100644
5143--- a/networking/Kbuild.src
5244+++ b/networking/Kbuild.src
5345@@ -27,6 +27,7 @@ lib-$(CONFIG_IP) += ip.o
...... 
5850 lib-$(CONFIG_NETSTAT) += netstat.o
5951 lib-$(CONFIG_NSLOOKUP) += nslookup.o
6052 lib-$(CONFIG_NTPD) += ntpd.o
61diff --git a/networking/netmsg.c b/networking/netmsg.c
62new file mode 100644
63index 0000000..43aba0d
6453--- /dev/null
6554+++ b/networking/netmsg.c
6655@@ -0,0 +1,63 @@
package/busybox/patches/310-passwd_access.patch
33
44--- a/networking/httpd.c
55+++ b/networking/httpd.c
6@@ -1717,21 +1717,32 @@ static int check_user_passwd(const char
6@@ -1742,21 +1742,32 @@ static int check_user_passwd(const char
77
88         if (ENABLE_FEATURE_HTTPD_AUTH_MD5) {
99             char *md5_passwd;
package/busybox/patches/340-lock_util.patch
11--- a/include/applets.src.h
22+++ b/include/applets.src.h
3@@ -229,6 +229,7 @@ IF_LN(APPLET_NOEXEC(ln, ln, _BB_DIR_BIN,
3@@ -213,6 +213,7 @@ IF_LN(APPLET_NOEXEC(ln, ln, _BB_DIR_BIN,
44 IF_LOAD_POLICY(APPLET(load_policy, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
55 IF_LOADFONT(APPLET(loadfont, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
66 IF_LOADKMAP(APPLET(loadkmap, _BB_DIR_SBIN, _BB_SUID_DROP))
...... 
1010 IF_LOGNAME(APPLET_NOFORK(logname, logname, _BB_DIR_USR_BIN, _BB_SUID_DROP, logname))
1111--- a/include/usage.src.h
1212+++ b/include/usage.src.h
13@@ -2320,6 +2320,9 @@ INSERT
13@@ -2089,6 +2089,9 @@ INSERT
1414 #define loadkmap_example_usage \
1515        "$ loadkmap < /etc/i18n/lang-keymap\n"
1616
...... 
2222 #define logger_full_usage "\n\n" \
2323--- a/miscutils/Config.src
2424+++ b/miscutils/Config.src
25@@ -465,6 +465,11 @@ config FEATURE_HDPARM_HDIO_GETSET_DMA
25@@ -485,6 +485,11 @@ config FEATURE_HDPARM_HDIO_GETSET_DMA
2626     help
2727       Enables the 'hdparm -d' option to get/set using_dma flag.
2828
package/busybox/patches/350-httpd_redir.patch
11--- a/include/usage.src.h
22+++ b/include/usage.src.h
3@@ -1719,7 +1719,8 @@ INSERT
3@@ -1623,7 +1623,8 @@ INSERT
44     IF_FEATURE_HTTPD_SETUID(" [-u USER[:GRP]]") \
55     IF_FEATURE_HTTPD_BASIC_AUTH(" [-r REALM]") \
66        " [-h HOME]\n" \
...... 
1010 #define httpd_full_usage "\n\n" \
1111        "Listen for incoming HTTP requests\n" \
1212      "\nOptions:" \
13@@ -1737,6 +1738,8 @@ INSERT
13@@ -1641,6 +1642,8 @@ INSERT
1414      "\n -m STRING MD5 crypt STRING") \
1515      "\n -e STRING HTML encode STRING" \
1616      "\n -d STRING URL decode STRING" \
...... 
2121     IF_FEATURE_HWCLOCK_LONG_OPTIONS( \
2222--- a/networking/httpd.c
2323+++ b/networking/httpd.c
24@@ -250,6 +250,8 @@ struct globals {
24@@ -243,6 +243,8 @@ struct globals {
2525
2626     const char *found_mime_type;
2727     const char *found_moved_temporarily;
...... 
3030     Htaccess_IP *ip_a_d; /* config allow/deny lines */
3131
3232     IF_FEATURE_HTTPD_BASIC_AUTH(const char *g_realm;)
33@@ -296,6 +298,8 @@ struct globals {
33@@ -293,6 +295,8 @@ struct globals {
3434 #define index_page (G.index_page )
3535 #define found_mime_type (G.found_mime_type )
3636 #define found_moved_temporarily (G.found_moved_temporarily)
...... 
3939 #define last_mod (G.last_mod )
4040 #define ip_a_d (G.ip_a_d )
4141 #define g_realm (G.g_realm )
42@@ -997,8 +1001,11 @@ static void send_headers(int responseNum
42@@ -999,8 +1003,11 @@ static void send_headers(int responseNum
4343     }
4444 #endif
4545     if (responseNum == HTTP_MOVED_TEMPORARILY) {
...... 
5252                 (g_query ? "?" : ""),
5353                 (g_query ? g_query : ""));
5454     }
55@@ -1942,8 +1949,12 @@ static void handle_incoming_and_exit(con
55@@ -1967,8 +1974,12 @@ static void handle_incoming_and_exit(con
5656     } while (*++tptr);
5757     *++urlp = '\0'; /* terminate after last character */
5858
...... 
6666         if (is_directory(urlcopy + 1, 1, NULL)) {
6767             found_moved_temporarily = urlcopy;
6868         }
69@@ -2283,7 +2294,9 @@ static void sighup_handler(int sig UNUSE
69@@ -2325,7 +2336,9 @@ static void sighup_handler(int sig UNUSE
7070 }
7171
7272 enum {
...... 
7777     d_opt_decode_url,
7878     h_opt_home_httpd,
7979     IF_FEATURE_HTTPD_ENCODE_URL_STR(e_opt_encode_url,)
80@@ -2332,12 +2345,13 @@ int httpd_main(int argc UNUSED_PARAM, ch
80@@ -2374,12 +2387,13 @@ int httpd_main(int argc UNUSED_PARAM, ch
8181     /* We do not "absolutize" path given by -h (home) opt.
8282      * If user gives relative path in -h,
8383      * $SCRIPT_FILENAME will not be set. */
package/busybox/patches/410-httpd_cgi_headers.patch
11--- a/networking/httpd.c
22+++ b/networking/httpd.c
3@@ -1255,10 +1255,10 @@ static NOINLINE void cgi_io_loop_and_exi
3@@ -1261,10 +1261,10 @@ static NOINLINE void cgi_io_loop_and_exi
44                         if (full_write(STDOUT_FILENO, HTTP_200, sizeof(HTTP_200)-1) != sizeof(HTTP_200)-1)
55                             break;
66                     }
package/busybox/patches/440-httpd_chdir.patch
11--- a/networking/httpd.c
22+++ b/networking/httpd.c
3@@ -1828,6 +1828,7 @@ static void handle_incoming_and_exit(con
3@@ -1853,6 +1853,7 @@ static void handle_incoming_and_exit(con
44     char *header_ptr = header_ptr;
55     Htaccess_Proxy *proxy_entry;
66 #endif
package/busybox/patches/470-insmod_search.patch
11--- a/modutils/insmod.c
22+++ b/modutils/insmod.c
3@@ -9,6 +9,99 @@
3@@ -11,6 +11,99 @@
44
55 #include "libbb.h"
66 #include "modutils.h"
...... 
100100
101101 /* 2.6 style insmod has no options and required filename
102102  * (not module name - .ko can't be omitted) */
103@@ -55,9 +148,15 @@ int insmod_main(int argc UNUSED_PARAM, c
103@@ -59,9 +152,15 @@ int insmod_main(int argc UNUSED_PARAM, c
104104     if (!filename)
105105         bb_show_usage();
106106
...... 
119119 }
120120--- a/modutils/Config.src
121121+++ b/modutils/Config.src
122@@ -228,7 +228,7 @@ config FEATURE_MODUTILS_SYMBOLS
122@@ -229,7 +229,7 @@ config FEATURE_MODUTILS_SYMBOLS
123123 config DEFAULT_MODULES_DIR
124124     string "Default directory containing modules"
125125     default "/lib/modules"
package/busybox/patches/510-awk_include.patch
55 /* vi: set sw=4 ts=4: */
66 /*
77  * awk implementation for busybox
8@@ -70,9 +71,14 @@ typedef struct chain_s {
8@@ -74,9 +75,14 @@ typedef struct chain_s {
99 } chain;
1010
1111 /* Function */
...... 
2020 } func;
2121
2222 /* I/O stream */
23@@ -1453,7 +1459,8 @@ static void parse_program(char *p)
23@@ -1466,7 +1472,8 @@ static void parse_program(char *p)
2424             next_token(TC_FUNCTION);
2525             g_pos++;
2626             f = newfunc(t_string);
...... 
3030             f->nargs = 0;
3131             while (next_token(TC_VARIABLE | TC_SEQTERM) & TC_VARIABLE) {
3232                 v = findvar(ahash, t_string);
33@@ -1462,7 +1469,7 @@ static void parse_program(char *p)
33@@ -1475,7 +1482,7 @@ static void parse_program(char *p)
3434                 if (next_token(TC_COMMA | TC_SEQTERM) & TC_SEQTERM)
3535                     break;
3636             }
...... 
3939             chain_group();
4040             clear_array(ahash);
4141
42@@ -2547,7 +2554,8 @@ static var *evaluate(node *op, var *res)
42@@ -2573,7 +2580,8 @@ static var *evaluate(node *op, var *res)
4343             var *vbeg, *v;
4444             const char *sv_progname;
4545
...... 
4949                 syntax_error(EMSG_UNDEF_FUNC);
5050
5151             vbeg = v = nvalloc(op->r.f->nargs + 1);
52@@ -2564,7 +2572,10 @@ static var *evaluate(node *op, var *res)
52@@ -2590,7 +2598,10 @@ static var *evaluate(node *op, var *res)
5353             fnargs = vbeg;
5454             sv_progname = g_progname;
5555
...... 
6161
6262             g_progname = sv_progname;
6363             nvfree(fnargs);
64@@ -2942,6 +2953,143 @@ static rstream *next_input_file(void)
64@@ -2984,6 +2995,143 @@ static rstream *next_input_file(void)
6565 #undef files_happen
6666 }
6767
...... 
205205 int awk_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
206206 int awk_main(int argc, char **argv)
207207 {
208@@ -3007,6 +3155,9 @@ int awk_main(int argc, char **argv)
208@@ -3049,6 +3197,9 @@ int awk_main(int argc, char **argv)
209209             *s1 = '=';
210210         }
211211     }
package/busybox/patches/524-udhcpc_renew.patch
11--- a/networking/udhcp/dhcpc.c
22+++ b/networking/udhcp/dhcpc.c
3@@ -793,7 +793,6 @@ static void perform_renew(void)
3@@ -874,7 +874,6 @@ static void perform_renew(void)
44         state = RENEW_REQUESTED;
55         break;
66     case RENEW_REQUESTED: /* impatient are we? fine, square 1 */
package/busybox/patches/803-id_getgrouplist.patch
55
66--- a/coreutils/id.c
77+++ b/coreutils/id.c
8@@ -17,10 +17,12 @@
8@@ -19,10 +19,12 @@
99
10 #include "libbb.h"
10 /* This is a NOEXEC applet. Be very careful! */
1111
1212+#define HAVE_GETGROUPLIST 1
1313+
...... 
1919 #endif
2020 #endif
2121 #endif
22@@ -82,7 +84,11 @@ static int get_groups(const char *userna
22@@ -84,7 +86,11 @@ static int get_groups(const char *userna
2323         /* If the user is a member of more than
2424          * *n groups, then -1 is returned. Otherwise >= 0.
2525          * (and no defined way of detecting errors?!) */
...... 
3131         /* I guess *n < 0 might indicate error. Anyway,
3232          * malloc'ing -1 bytes won't be good, so: */
3333         //if (*n < 0)
34@@ -154,6 +160,7 @@ int id_main(int argc UNUSED_PARAM, char
34@@ -156,6 +162,7 @@ int id_main(int argc UNUSED_PARAM, char
3535             if (egid != rgid)
3636                 status |= print_group(egid, " ");
3737         }
...... 
3939         /* We are supplying largish buffer, trying
4040          * to not run get_groups() twice. That might be slow
4141          * ("user database in remote SQL server" case) */
42@@ -181,6 +188,7 @@ int id_main(int argc UNUSED_PARAM, char
42@@ -183,6 +190,7 @@ int id_main(int argc UNUSED_PARAM, char
4343         }
4444         if (ENABLE_FEATURE_CLEAN_UP)
4545             free(groups);
package/busybox/patches/910-insmod-q-flag.patch
11--- a/modutils/insmod.c
22+++ b/modutils/insmod.c
3@@ -129,7 +129,7 @@ int insmod_main(int argc, char **argv) M
3@@ -133,7 +133,7 @@ int insmod_main(int argc, char **argv) M
44 int insmod_main(int argc UNUSED_PARAM, char **argv)
55 {
66     char *filename;
...... 
99
1010     /* Compat note:
1111      * 2.6 style insmod has no options and required filename
12@@ -139,10 +139,8 @@ int insmod_main(int argc UNUSED_PARAM, c
12@@ -143,10 +143,8 @@ int insmod_main(int argc UNUSED_PARAM, c
1313      * or in $MODPATH.
1414      */
1515
...... 
2222
2323     filename = *++argv;
2424     if (!filename)
25@@ -153,7 +151,7 @@ int insmod_main(int argc UNUSED_PARAM, c
25@@ -157,7 +155,7 @@ int insmod_main(int argc UNUSED_PARAM, c
2626             goto done;
2727
2828     rc = bb_init_module(g_filename, parse_cmdline_module_options(argv));

Archive Download the corresponding diff file



interactive