summary refs log tree commit diff
path: root/src/mystring.c
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/mystring.c
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/mystring.c')
0 files changed, 0 insertions, 0 deletions
June McEnroe 2020-02-10Match URLs surrounded by parenthesesJune McEnroe 2020-02-10Fix M-a so it properly cycles back to where it startedJune McEnroe 2020-02-09Add M-lJune McEnroe 2020-02-09Add /whoisJune McEnroe 2020-02-09Add /msgJune McEnroe