diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-11-17 18:25:26 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-11-17 18:25:26 +0000 |
commit | e5aef92e22172d36152bae6e15d5c0419c758121 (patch) | |
tree | 1576263a85553b8bd1b3efd08a53b5c2898efb8b /utility.c | |
parent | cf32e23796a94e96d36d302973509935ea051816 (diff) | |
download | busybox-w32-e5aef92e22172d36152bae6e15d5c0419c758121.tar.gz busybox-w32-e5aef92e22172d36152bae6e15d5c0419c758121.tar.bz2 busybox-w32-e5aef92e22172d36152bae6e15d5c0419c758121.zip |
Fix up builtin overrides, and hack in the binary search for finding
matching applets into the shell.
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1775,6 +1775,14 @@ FILE *xfopen(const char *path, const char *mode) | |||
1775 | } | 1775 | } |
1776 | #endif | 1776 | #endif |
1777 | 1777 | ||
1778 | int applet_name_compare(const void *x, const void *y) | ||
1779 | { | ||
1780 | const struct BB_applet *applet1 = x; | ||
1781 | const struct BB_applet *applet2 = y; | ||
1782 | |||
1783 | return strcmp(applet1->name, applet2->name); | ||
1784 | } | ||
1785 | |||
1778 | /* END CODE */ | 1786 | /* END CODE */ |
1779 | /* | 1787 | /* |
1780 | Local Variables: | 1788 | Local Variables: |