Continue of previous fix: eliminate backslashes too.

This commit is contained in:
Andrey A. Chernov 1995-03-26 00:47:02 +00:00
parent 9da94f20f7
commit bc4908f401

View File

@ -158,7 +158,7 @@ tgetent(bp, name)
tcs = pd - 1;
for (;;) {
while ((tok = strsep(&ps, ":")) != NULL &&
(*tok == '\0' || !isgraph(*tok)))
(*tok == '\0' || *tok == '\\' || !isgraph(*tok)))
;
if (tok == NULL)
break;