Ash glob symlink regression when using libc glob

Lauri Kasanen cand at gmx.com
Tue Oct 31 07:31:33 UTC 2017


On Mon, 30 Oct 2017 20:24:08 +0100
Denys Vlasenko <vda.linux at googlemail.com> wrote:

> On Sun, Oct 29, 2017 at 7:43 PM, Lauri Kasanen <cand at gmx.com> wrote:
> > Hi,
> >
> > It was reported the following case fails with bb 1.27.2:
> >
> > ln -s nonexistent mylink
> > mv myli* someother
> >
> > It also fails with master. I bisected it to
> > b3f29b452a660a7293162897424bed205f7f9147, "ash: use glob() from libc".
> > Works with bash.
> 
> Can't reproduce. myli* does expend for me.

It fails with glibc 2.24 and 2.7, x86 and x86_64, so probably everything
between. Are you on a more recent glibc?

My attached config was from the bisect commit, so applying it directly
to master may cause the wrong value for CONFIG_ASH_INTERNAL_GLOB.

- Lauri


More information about the busybox mailing list