Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-11-17 21:25:26 +0300
committerEric Andersen <andersen@codepoet.org>2000-11-17 21:25:26 +0300
commite5aef92e22172d36152bae6e15d5c0419c758121 (patch)
tree1576263a85553b8bd1b3efd08a53b5c2898efb8b /utility.c
parentcf32e23796a94e96d36d302973509935ea051816 (diff)
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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/utility.c b/utility.c
index e79e44136..c23ebcd96 100644
--- a/utility.c
+++ b/utility.c
@@ -1775,6 +1775,14 @@ FILE *xfopen(const char *path, const char *mode)
}
#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: