From d6d06ff5c2ea0fa44becc5ef4340e5f2f15073e4 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Mon, 19 May 2008 09:15:05 +0800 Subject: [EXPAND] Fixed non-leading slash treatment in expmeta MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 2f65e03..7cf15c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-05-19 Herbert Xu + + * Fixed non-leading slash treatment in expmeta. + 2008-05-07 Gerrit Pape * Fixed lexical error in arithmetic expansion of & and |. -- cgit 1.4.1