Fix parse() not to filter out tab from quoted arguments

Broken in commit 2cc44bb1, v4.2.21.
This commit is contained in:
Markus Armbruster 2008-07-20 11:01:18 -04:00
parent 022b73d8a1
commit 90ba9608cb

View file

@ -87,7 +87,7 @@ parse(char *buf, char *space, char **arg,
for (; *buf && (quoted || !isspace(*(unsigned char *)buf)); buf++) {
if (*buf == '"')
quoted = !quoted;
else if (*buf >= 0x20 && *buf <= 0x7e)
else if ((*buf >= 0x20 && *buf <= 0x7e) || *buf == '\t')
*space++ = *buf;
/* else funny character; ignore */
}