add a simple maintenance tool for kernel config files
[openwrt.git] / package / busybox / patches / 190-ash_performance.patch
index 7f2954d..0931931 100644 (file)
@@ -1,6 +1,9 @@
+
+       Copyright (C) 2006 OpenWrt.org
+
 diff -urN busybox.old/shell/ash.c busybox.dev/shell/ash.c
 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) )
 @@ -1414,6 +1414,13 @@
  
  #define NUMBUILTINS  (sizeof (builtincmd) / sizeof (struct builtincmd) )
@@ -56,7 +59,7 @@ diff -urN busybox.old/shell/ash.c busybox.dev/shell/ash.c
 +              while (*c != NULL) {
 +                      c++; argc++;
 +              }
 +              while (*c != NULL) {
 +                      c++; argc++;
 +              }
-+              bb_applet_name = "[";
++              bb_applet_name = cmd;
 +              exit(a->main(argc, argv));
 +      }
  #ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL
 +              exit(a->main(argc, argv));
 +      }
  #ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL
This page took 0.026805 seconds and 4 git commands to generate.