[package] uhttpd: rework CyaSSL and OpenSSL integration; move protected recv() and...
[openwrt.git] / package / busybox / patches / 910-insmod-q-flag.patch
index e77b0a7..6002f20 100644 (file)
@@ -1,6 +1,6 @@
 --- a/modutils/insmod.c
 +++ b/modutils/insmod.c
-@@ -129,7 +129,7 @@ int insmod_main(int argc, char **argv) M
+@@ -139,7 +139,7 @@ int insmod_main(int argc, char **argv) M
  int insmod_main(int argc UNUSED_PARAM, char **argv)
  {
        char *filename;
@@ -9,7 +9,7 @@
  
        /* Compat note:
         * 2.6 style insmod has no options and required filename
-@@ -139,10 +139,8 @@ int insmod_main(int argc UNUSED_PARAM, c
+@@ -149,10 +149,8 @@ int insmod_main(int argc UNUSED_PARAM, c
         * or in $MODPATH.
         */
  
  
        filename = *++argv;
        if (!filename)
-@@ -153,7 +151,7 @@ int insmod_main(int argc UNUSED_PARAM, c
-                       goto done;
+@@ -163,7 +161,7 @@ int insmod_main(int argc UNUSED_PARAM, c
+               goto done;
  
-       rc = bb_init_module(g_filename, parse_cmdline_module_options(argv));
+       rc = bb_init_module(g_filename, parse_cmdline_module_options(argv, /*quote_spaces:*/ 0));
 -      if (rc)
 +      if (rc && !(opt & INSMOD_OPT_SILENT))
                bb_error_msg("can't insert '%s': %s", filename, moderror(rc));
This page took 0.025369 seconds and 4 git commands to generate.