Herbert Xu 1f6fc2dc2f shell: Disable glob again as it strips traing slashes
On Mon, Nov 16, 2020 at 01:47:48PM +1100, Herbert Xu wrote:
> René Scharfe <l.s.r@web.de> wrote:
> >
> > on Debian testing dash eats trailing slashes of parameters that happen
> > to be regular files when expanding "$@".  Example:
> >
> >   $ rm -f foo bar
> >   $ touch foo
> >   $ dash -c 'echo "$0" "$@"' baz foo/ bar/ ./
> >   baz foo bar/ ./
>
> In fact you just have to do
>
> 	dash -c 'echo bar\/'
>
> This is a bug in glob(3).  It's stripping the slash.
>
> I guess we'll just have to disable glob again.

This patch disables glob(3) by default.

Reported-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-12-23 18:55:20 +11:00
2020-07-08 16:58:29 +10:00
2018-11-19 18:59:50 +08:00
2011-08-17 09:34:47 +08:00
2005-09-26 18:32:28 +10:00
Description
No description provided
2.1 MiB
Languages
C 69.3%
Roff 10.7%
Shell 9.6%
Makefile 8.8%
M4 1%
Other 0.6%