From: Bernhard Reutner-Fischer Date: Wed, 21 Jun 2006 18:19:53 +0000 (-0000) Subject: - add note about strict ordering X-Git-Tag: 1_2_0~97 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=35492137f8517e143aa8733e669a76e7a428838e;p=oweals%2Fbusybox.git - add note about strict ordering --- diff --git a/shell/ash.c b/shell/ash.c index 1c5742bdc..35d58b5d7 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -1312,6 +1312,7 @@ struct builtincmd { #define IS_BUILTIN_REGULAR(builtincmd) ((builtincmd)->name[0] & 2) #define IS_BUILTIN_ASSIGN(builtincmd) ((builtincmd)->name[0] & 4) +/* make sure to keep these in proper order since it is searched via bsearch() */ static const struct builtincmd builtincmd[] = { { BUILTIN_SPEC_REG ".", dotcmd }, { BUILTIN_SPEC_REG ":", truecmd },