wrappers: Fix the output filtering for clang -v
This makes the code actually do what was intended, for cases with multiple consecutive backslashes, each escaped to double backslashes.
This commit is contained in:
1 parent
0fc16eb24d
commit
d7e5858a60
1 file changed
+1
-1
@@ -59,7 +59,7 @@ static void filter_stderr(char *buf, int n) {
|
|||||||
// Last output char was a backslash converted into a
|
// Last output char was a backslash converted into a
|
||||||
// forward slash. Ignore this one, but handle the next
|
// forward slash. Ignore this one, but handle the next
|
||||||
// one in case there's more.
|
// one in case there's more.
|
||||||
last = ' ';
|
cur = ' ';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
buf[out++] = cur;
|
buf[out++] = cur;
|
||||||
|
|||||||
Reference in new issue
Block a user