svn commit: trunk/busybox/shell
vapier at busybox.net
vapier at busybox.net
Wed Jun 21 18:04:52 UTC 2006
Author: vapier
Date: 2006-06-21 11:04:49 -0700 (Wed, 21 Jun 2006)
New Revision: 15461
Log:
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.
Modified:
trunk/busybox/shell/ash.c
Changeset:
Modified: trunk/busybox/shell/ash.c
===================================================================
--- trunk/busybox/shell/ash.c 2006-06-21 18:03:08 UTC (rev 15460)
+++ trunk/busybox/shell/ash.c 2006-06-21 18:04:49 UTC (rev 15461)
@@ -1363,8 +1363,8 @@
{ BUILTIN_SPEC_REG_ASSG "readonly", exportcmd },
{ BUILTIN_SPEC_REG "return", returncmd },
{ BUILTIN_SPEC_REG "set", setcmd },
+ { BUILTIN_SPEC_REG "shift", shiftcmd },
{ BUILTIN_SPEC_REG "source", dotcmd },
- { BUILTIN_SPEC_REG "shift", shiftcmd },
#ifdef CONFIG_ASH_BUILTIN_TEST
{ BUILTIN_REGULAR "test", testcmd },
#endif
More information about the busybox-cvs
mailing list