pfctl: Fix line numbers when \ is used inside ""
PR: 201520 Obtained from: OpenBSD MFC after: 2 weeks
This commit is contained in:
parent
8fd1088042
commit
4a8e4793ed
@ -5765,8 +5765,10 @@ top:
|
||||
return (0);
|
||||
if (next == quotec || c == ' ' || c == '\t')
|
||||
c = next;
|
||||
else if (next == '\n')
|
||||
else if (next == '\n') {
|
||||
file->lineno++;
|
||||
continue;
|
||||
}
|
||||
else
|
||||
lungetc(next);
|
||||
} else if (c == quotec) {
|
||||
|
Loading…
Reference in New Issue
Block a user