diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-21 18:04:49 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-21 18:04:49 +0000 |
commit | c2ad4f5d2768d7bf60457b09b624c65848ad0dd6 (patch) | |
tree | f48bf08f4a755ae03406748c68cd4e302daa8bde /shell | |
parent | 0cc2c2c2894a840b0bca24da42f4154f33b5af0a (diff) | |
download | busybox-c2ad4f5d2768d7bf60457b09b624c65848ad0dd6.tar.gz |
Jean Wolter writes: ash uses bsearch to search in the list of built-in commands, therefore the list of built-in commands has to be ordered. Revision 15077 introduced the source built-in and destroyed this order. And now ash doesn't find the shift command anymore.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index a0eb4e36f..1c5742bdc 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -1363,8 +1363,8 @@ static const struct builtincmd builtincmd[] = { { BUILTIN_SPEC_REG_ASSG "readonly", exportcmd }, { BUILTIN_SPEC_REG "return", returncmd }, { BUILTIN_SPEC_REG "set", setcmd }, - { BUILTIN_SPEC_REG "source", dotcmd }, { BUILTIN_SPEC_REG "shift", shiftcmd }, + { BUILTIN_SPEC_REG "source", dotcmd }, #ifdef CONFIG_ASH_BUILTIN_TEST { BUILTIN_REGULAR "test", testcmd }, #endif |