aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-21 18:19:53 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-21 18:19:53 +0000
commit35492137f8517e143aa8733e669a76e7a428838e (patch)
tree22014b9cc32e5f2d0ed6f873a0c6c8227a17e4a3 /shell
parentc2ad4f5d2768d7bf60457b09b624c65848ad0dd6 (diff)
downloadbusybox-35492137f8517e143aa8733e669a76e7a428838e.tar.gz
- add note about strict ordering
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c1
1 files changed, 1 insertions, 0 deletions
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 },