diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2019-06-12 17:03:18 +0800 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-06-12 17:03:18 +0800 |
commit | 9be2120e4b6f43a2450c6ddb86fbc1723dd081e5 (patch) | |
tree | 82f53f64f5273d536bf9773b91c37baaa32e8e1f | |
parent | 6705c189236dbd57e27a7eed0a096dcbc27d2054 (diff) | |
download | psutil-9be2120e4b6f43a2450c6ddb86fbc1723dd081e5.tar.gz |
credits to @wiggin15 for #1528
-rw-r--r-- | CREDITS | 2 | ||||
-rw-r--r-- | HISTORY.rst | 5 | ||||
-rwxr-xr-x | scripts/internal/check_broken_links.py | 4 |
3 files changed, 8 insertions, 3 deletions
@@ -57,7 +57,7 @@ N: Arnon Yaari (wiggin15) W: https://github.com/wiggin15 D: AIX implementation, expert on multiple fronts I: 517, 607, 610, 1131, 1123, 1130, 1154, 1164, 1174, 1177, 1210, 1214, 1408, - 1329, 1276, 1494. + 1329, 1276, 1494, 1528. N: Alex Manuskin W: https://github.com/amanusk diff --git a/HISTORY.rst b/HISTORY.rst index c3d2960e..b9e08da1 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -9,6 +9,11 @@ XXXX-XX-XX - 1530_: [NetBSD] add process cwd() support. (patch by Kamil Rytarowski) +**Bug fixes** + +- 1528_: [AIX] compilation error on AIX 7.2 due to 32 vs 64 bit differences. + (patch by Arnon Yaari) + 5.6.3 ===== diff --git a/scripts/internal/check_broken_links.py b/scripts/internal/check_broken_links.py index 3d108d81..73134818 100755 --- a/scripts/internal/check_broken_links.py +++ b/scripts/internal/check_broken_links.py @@ -160,7 +160,7 @@ def parse_c(fname): def parse_generic(fname): - with open(fname) as f: + with open(fname, 'rt', errors='ignore') as f: text = f.read() return find_urls(text) @@ -174,7 +174,7 @@ def get_urls(fname): elif fname.endswith('.c') or fname.endswith('.h'): return parse_c(fname) else: - with open(fname) as f: + with open(fname, 'rt', errors='ignore') as f: if f.readline().strip().startswith('#!/usr/bin/env python'): return parse_py(fname) return parse_generic(fname) |