summary refs log tree commit diff
path: root/src/redir.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2018-03-26 17:50:24 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-04-19 18:19:28 +0800
commit6900ff60ef7347a8c1445853a8f4689808e0976e (patch)
tree8078403d5e3f26ac8e593eaa79d9812b4df7dd3d /src/redir.c
parentexpand: Fix buffer overflow in expandmeta (diff)
downloaddash-6900ff60ef7347a8c1445853a8f4689808e0976e.tar.gz
dash-6900ff60ef7347a8c1445853a8f4689808e0976e.zip
expand: Fix glibc glob(3) support
It's been a while since we disabled glob(3) support by default.
It appears to be working now, however, we have to change our
code to detect the no-match case correctly.

In particular, we need to test for GLOB_NOMAGIC | GLOB_NOCHECK
instead of GLOB_MAGCHAR.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions