mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 16:50:58 +01:00
24712: handling of backticks being requoted for double quotes
This commit is contained in:
parent
948f015df0
commit
567a8e1d50
2 changed files with 5 additions and 0 deletions
|
|
@ -4268,6 +4268,8 @@ quotestring(const char *s, char **e, int instring)
|
|||
while (*u && *u != c)
|
||||
*v++ = *u++;
|
||||
*v++ = c;
|
||||
if (*u)
|
||||
u++;
|
||||
continue;
|
||||
} else if ((*u == Qstring || *u == '$') && u[1] == '\'' &&
|
||||
instring == QT_DOUBLE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue