diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-05-19 09:15:05 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-05-19 09:15:05 +0800 |
commit | d6d06ff5c2ea0fa44becc5ef4340e5f2f15073e4 (patch) | |
tree | 36bf908c575bbc5da9286a925bb1ce64eef54122 /src/funcs | |
parent | [ARITH] Fixed lexical error on & and | (diff) | |
download | dash-d6d06ff5c2ea0fa44becc5ef4340e5f2f15073e4.tar.gz dash-d6d06ff5c2ea0fa44becc5ef4340e5f2f15073e4.zip |
[EXPAND] Fixed non-leading slash treatment in expmeta
Back in January an attempt was made to fix the interpretation of quoted slashes in expmeta. However, this only fixed those cases where the quoted slash is at the front of the word. The case of non-leading slashes caused the previous directory part to gain a back slash suffix which causes subsequent pattern matches to fail. This patch fixes this by removing the back slash in that case. Thanks to Romain Tartière fox reporting this bug. Test case: echo /*"/null" Old result: /*/null New result: /dev/null Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions