]> git.ipfire.org Git - thirdparty/glibc.git/commit
scripts/check-obsolete-constructs.py: Process all headers as UTF-8.
authorZack Weinberg <zackw@panix.com>
Thu, 14 Mar 2019 13:44:22 +0000 (09:44 -0400)
committerZack Weinberg <zackw@panix.com>
Thu, 14 Mar 2019 13:44:22 +0000 (09:44 -0400)
commit97f8225d22ef727ae9935cc231643efdc430d530
tree8df07ec8a0cbd891c771c23ec3cb95f650b7ab99
parent0c1041ee5b2889db7cf8bb75da05117c512b1191
scripts/check-obsolete-constructs.py: Process all headers as UTF-8.

A few of our installed headers contain UTF-8 in comments.
check-obsolete-constructs opened files without explicitly specifying
their encoding, so it would barf on these headers if “make check” was
run in a non-UTF-8 locale.

* scripts/check-obsolete-constructs.py (HeaderChecker.check):
Specify encoding="utf-8" when opening headers to check.
ChangeLog
scripts/check-obsolete-constructs.py