aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-11-12 21:47:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-11-12 21:47:49 +0000
commit0d0ecaa2ed7151759674ee378b43a3a0bdd1cdb8 (patch)
tree6b146ce79534b14a0019a77d5275efb3ba538c6b
parente5e0cc553dd04b4bbf347b85c1aea4b9f0f83848 (diff)
downloadupstream-0d0ecaa2ed7151759674ee378b43a3a0bdd1cdb8.tar.gz
upstream-0d0ecaa2ed7151759674ee378b43a3a0bdd1cdb8.tar.bz2
upstream-0d0ecaa2ed7151759674ee378b43a3a0bdd1cdb8.zip
fix stupid bug in my busybox ash performance patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2457 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/busybox/patches/190-ash_performance.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/busybox/patches/190-ash_performance.patch b/package/busybox/patches/190-ash_performance.patch
index 7f2954de73..2231fd786a 100644
--- a/package/busybox/patches/190-ash_performance.patch
+++ b/package/busybox/patches/190-ash_performance.patch
@@ -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