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.
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -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 | |