1
0
Fork 0
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:
Peter Stephenson 2008-03-14 12:14:04 +00:00
parent 948f015df0
commit 567a8e1d50
2 changed files with 5 additions and 0 deletions

View file

@ -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) {