diff options
| author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-21 18:04:49 +0000 |
|---|---|---|
| committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-21 18:04:49 +0000 |
| commit | a5d6a5a2db9d66f1439343123bdc6b801802483b (patch) | |
| tree | f48bf08f4a755ae03406748c68cd4e302daa8bde /shell | |
| parent | 77f8ab83cb8270fa88a106decff7315273933ec8 (diff) | |
| download | busybox-w32-a5d6a5a2db9d66f1439343123bdc6b801802483b.tar.gz busybox-w32-a5d6a5a2db9d66f1439343123bdc6b801802483b.tar.bz2 busybox-w32-a5d6a5a2db9d66f1439343123bdc6b801802483b.zip | |
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.
git-svn-id: svn://busybox.net/trunk/busybox@15461 69ca8d6d-28ef-0310-b511-8ec308f3f277
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[] = { | |||
| 1363 | { BUILTIN_SPEC_REG_ASSG "readonly", exportcmd }, | 1363 | { BUILTIN_SPEC_REG_ASSG "readonly", exportcmd }, |
| 1364 | { BUILTIN_SPEC_REG "return", returncmd }, | 1364 | { BUILTIN_SPEC_REG "return", returncmd }, |
| 1365 | { BUILTIN_SPEC_REG "set", setcmd }, | 1365 | { BUILTIN_SPEC_REG "set", setcmd }, |
| 1366 | { BUILTIN_SPEC_REG "source", dotcmd }, | ||
| 1367 | { BUILTIN_SPEC_REG "shift", shiftcmd }, | 1366 | { BUILTIN_SPEC_REG "shift", shiftcmd }, |
| 1367 | { BUILTIN_SPEC_REG "source", dotcmd }, | ||
| 1368 | #ifdef CONFIG_ASH_BUILTIN_TEST | 1368 | #ifdef CONFIG_ASH_BUILTIN_TEST |
| 1369 | { BUILTIN_REGULAR "test", testcmd }, | 1369 | { BUILTIN_REGULAR "test", testcmd }, |
| 1370 | #endif | 1370 | #endif |
