summary refs log tree commit diff
path: root/src/cd.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/cd.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/cd.h')
0 files changed, 0 insertions, 0 deletions
in upJune McEnroe 2019-02-17Add line numbers to hiJune McEnroe 2019-02-17Always split spans after newlinesJune McEnroe 2019-02-15Color format specifiers light cyan in vimJune McEnroe 2019-02-15Highlight Interp as yellowJune McEnroe 2019-02-15Highlight strings in sh command substitutionsJune McEnroe 2019-02-15Add nmap gpJune McEnroe 2019-02-14Avoid newline when copying URL to pasteboardJune McEnroe 2019-02-13Add forgotten "sixth" book of H2G2June McEnroe