[PATCH] cmd: Add help info for xcopy

Frédéric Delanoy frederic.delanoy at gmail.com
Fri Sep 9 02:53:13 CDT 2011


On Fri, Sep 9, 2011 at 09:16, Christian Costa <titan.costa at 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



More information about the wine-devel mailing list