commit | 35492137f8517e143aa8733e669a76e7a428838e | [log] [tgz] |
---|---|---|
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | Wed Jun 21 18:19:53 2006 +0000 |
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | Wed Jun 21 18:19:53 2006 +0000 |
tree | 22014b9cc32e5f2d0ed6f873a0c6c8227a17e4a3 | |
parent | c2ad4f5d2768d7bf60457b09b624c65848ad0dd6 [diff] |
- add note about strict ordering
diff --git a/shell/ash.c b/shell/ash.c index 1c5742b..35d58b5 100644 --- a/shell/ash.c +++ b/shell/ash.c
@@ -1312,6 +1312,7 @@ #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 },