commit | e5aef92e22172d36152bae6e15d5c0419c758121 | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Fri Nov 17 18:25:26 2000 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Fri Nov 17 18:25:26 2000 +0000 |
tree | 1576263a85553b8bd1b3efd08a53b5c2898efb8b | |
parent | cf32e23796a94e96d36d302973509935ea051816 [diff] [blame] |
Fix up builtin overrides, and hack in the binary search for finding matching applets into the shell.
diff --git a/utility.c b/utility.c index e79e441..c23ebcd 100644 --- a/utility.c +++ b/utility.c
@@ -1775,6 +1775,14 @@ } #endif +int applet_name_compare(const void *x, const void *y) +{ + const struct BB_applet *applet1 = x; + const struct BB_applet *applet2 = y; + + return strcmp(applet1->name, applet2->name); +} + /* END CODE */ /* Local Variables: