- add note about strict ordering
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 21 Jun 2006 18:19:53 +0000 (18:19 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 21 Jun 2006 18:19:53 +0000 (18:19 -0000)
shell/ash.c

index 1c5742bdcb0c1103bf9370d8c974b169a687059a..35d58b5d76bdabf4865c995e270ec1f3e8e1a11e 100644 (file)
@@ -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 },