fix stupid bug in my busybox ash performance patch
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 12 Nov 2005 21:47:49 +0000 (21:47 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 12 Nov 2005 21:47:49 +0000 (21:47 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2457 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/busybox/patches/190-ash_performance.patch

index 7f2954d..2231fd7 100644 (file)
@@ -1,6 +1,6 @@
 diff -urN busybox.old/shell/ash.c busybox.dev/shell/ash.c
---- busybox.old/shell/ash.c    2004-10-08 11:43:34.000000000 +0200
-+++ busybox.dev/shell/ash.c    2005-11-09 14:06:10.800983750 +0100
+--- busybox.old/shell/ash.c    2005-11-12 22:39:19.853826250 +0100
++++ busybox.dev/shell/ash.c    2005-11-12 22:39:42.771258500 +0100
 @@ -1414,6 +1414,13 @@
  
  #define NUMBUILTINS  (sizeof (builtincmd) / sizeof (struct builtincmd) )
@@ -56,7 +56,7 @@ diff -urN busybox.old/shell/ash.c busybox.dev/shell/ash.c
 +              while (*c != NULL) {
 +                      c++; argc++;
 +              }
-+              bb_applet_name = "[";
++              bb_applet_name = cmd;
 +              exit(a->main(argc, argv));
 +      }
  #ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL
This page took 0.02469 seconds and 4 git commands to generate.