diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2018-05-27 17:31:57 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-08-29 11:15:57 +0800 |
commit | 14dff0f69d37e73cf99c77f5f5f38b2a3c6522f5 (patch) | |
tree | 9c34d9aa1cde316079d6a833b13b254bbad0eefa /src/options.c | |
parent | shell: Don't include config.h for native helpers (diff) | |
download | dash-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 '')
0 files changed, 0 insertions, 0 deletions