mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-30 14:14:54 +00:00
14 lines
722 B
Diff
14 lines
722 B
Diff
Index: llvm-toolchain-snapshot_14~++20210805101753+11565320fd55/clang/tools/scan-build-py/lib/libscanbuild/report.py
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_14~++20210805101753+11565320fd55.orig/clang/tools/scan-build-py/lib/libscanbuild/report.py
|
|
+++ llvm-toolchain-snapshot_14~++20210805101753+11565320fd55/clang/tools/scan-build-py/lib/libscanbuild/report.py
|
|
@@ -417,7 +417,7 @@ def parse_bug_html(filename):
|
|
'bug_path_length': 1
|
|
}
|
|
|
|
- with open(filename) as handler:
|
|
+ with open(filename, encoding="utf-8") as handler:
|
|
for line in handler.readlines():
|
|
# do not read the file further
|
|
if endsign.match(line):
|