X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/7fb42f9807ba24cd561f1e114b968811ab349600..9eafd1cb17da2076804266cfcc8f9f6b54694352:/package/busybox/patches/190-ash_performance.patch?ds=sidebyside diff --git a/package/busybox/patches/190-ash_performance.patch b/package/busybox/patches/190-ash_performance.patch index 7f2954de7..093193141 100644 --- a/package/busybox/patches/190-ash_performance.patch +++ b/package/busybox/patches/190-ash_performance.patch @@ -1,6 +1,9 @@ + + Copyright (C) 2006 OpenWrt.org + 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 +59,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