From 35492137f8517e143aa8733e669a76e7a428838e Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 21 Jun 2006 18:19:53 +0000 Subject: - add note about strict ordering --- shell/ash.c | 1 + 1 file changed, 1 insertion(+) (limited to 'shell/ash.c') 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 }, -- cgit v1.2.3