On Fri, Aug 28, 2015 at 11:01 PM, Aaro Koskinen <[email protected]> wrote:
> The following commit:
>
> commit 549deab5abd59c1ab752754170f69aa2248e72c9
> Author: Ron Yorston <[email protected]>
> Date: Mon May 18 09:57:51 2015 +0200
>
> ash: move parse-time quote flag detection to run-time
>
> introduced the following change of behaviour:
>
> Commands:
>
> mkdir foo
> cd foo
> touch a b
> echo "./"*
>
> Old output:
>
> ./a ./b
>
> Current (incorrect):
>
> ./*
Confirmed.
I wondered whether it happens in dash, but
git://git.kernel.org/pub/scm/utils/dash/dash.git
tree doesn't build for me:
eval.c: In function 'evalcommand':
eval.c:817: error: 'EXECCMD' undeclared (first use in this function)
eval.c:817: error: (Each undeclared identifier is reported only once
eval.c:817: error: for each function it appears in.)
eval.c:819: error: 'COMMANDCMD' undeclared (first use in this function)
eval.c: In function 'evalbltin':
eval.c:915: error: 'EVALCMD' undeclared (first use in this function)
make[3]: *** [eval.o] Error 1
make[3]: Leaving directory `/.1/usr/srcdevel/bbox/dl/dash-T/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/.1/usr/srcdevel/bbox/dl/dash-T/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/.1/usr/srcdevel/bbox/dl/dash-T'
make: *** [all] Error 2
The errors happen here:
if (cmdentry.u.cmd == EXECCMD)
execcmd++;
if (cmdentry.u.cmd != COMMANDCMD)
break;
and, for example, EXECCMD really is not defined anywhere.
I'm confused.
Ron, how do you build dash?
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox