On Fri, Sep 9, 2011 at 09:16, Christian Costa <titan.costa(a)wanadoo.fr> wrote:
>
> --- a/programs/cmd/builtins.c
> +++ b/programs/cmd/builtins.c
> @@ -68,7 +68,8 @@ static const WCHAR parmNoY[] = {'/','-','Y','\0'};
> static const WCHAR nullW[] = {'\0'};
>
> const WCHAR externals[][10] = {
> - {'A','T','T','R','I','B','\0'}
> + {'A','T','T','R','I','B','\0'},
> + {'X','C','O','P','Y','\0'}
Patch is OK, but for consistency, shouldn't the externals be put at
the start of wcmdmain.c, just after the inbuilt[][]10]?
This way, you could see directly which command is built-in, and which
is external.
Frédéric