summary refs log tree commit diff
path: root/src/bltin/bltin.h
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/bltin/bltin.h
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 'src/bltin/bltin.h')
0 files changed, 0 insertions, 0 deletions
go.c?id=3bc1e19932ae273377fd25ae9975ce1d9c3f565b&follow=1'>Call static_assert by _Static_assertJune McEnroe 2020-06-07Add OpenBSD to install.shJune McEnroe 2020-06-03Add The Song of AchillesJune McEnroe 2020-06-01Allow redirecting input in everJune McEnroe 2020-05-31Add %c conversion to c scriptJune McEnroe 2020-05-31Add c script to READMEJune McEnroe 2020-05-31Add c scriptJune McEnroe 2020-05-31Update mdoc source URLsJune McEnroe 2020-05-26Remove unfinished PSF fontsJune McEnroe