summary refs log tree commit diff
path: root/src/nodetypes
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2018-05-27 17:31:57 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-08-29 11:15:57 +0800
commit14dff0f69d37e73cf99c77f5f5f38b2a3c6522f5 (patch)
tree9c34d9aa1cde316079d6a833b13b254bbad0eefa /src/nodetypes
parentshell: Don't include config.h for native helpers (diff)
downloaddash-14dff0f69d37e73cf99c77f5f5f38b2a3c6522f5.tar.gz
dash-14dff0f69d37e73cf99c77f5f5f38b2a3c6522f5.zip
expand: Use HOME in tilde expansion when it is empty
Currently if HOME is set to empty tilde expansion will fail, i.e.,
it will remain as a literal tilde.  This patch changes it to
return the empty string as required by POSIX.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/nodetypes')
0 files changed, 0 insertions, 0 deletions
td>redir: Fix typo in noclobber codeHerbert Xu 2018-04-19expand: Fix glibc glob(3) supportHerbert Xu 2018-04-02expand: Fix buffer overflow in expandmetaHerbert Xu 2018-04-02builtin: Move echo space/nl handling into print_escape_strHerbert Xu 2018-04-02builtin: Fix echo performance regressionHerbert Xu 2018-04-02expand: Fix ghost fields with unquoted $@/$*Herbert Xu 2018-04-02parser: Allow newlines within parameter substitutionHerbert Xu 2018-04-02expand: Fix bugs with words connected to the right of $@Herbert Xu 2018-03-25Revert "[BUILTIN] Remove unnecessary restoration of format string in printf"Herbert Xu 2018-03-22parser: Fix backquote support in here-document EOF markHerbert Xu