From: Janne Blomqvist Date: Tue, 2 Jul 2019 05:54:31 +0000 (+0300) Subject: mklog/91048: Open ~/.mklog in string mode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d64cee84be39d688a0221246f24bba8e84a54b0;p=gcc.git mklog/91048: Open ~/.mklog in string mode. 2019-07-02 Janne Blomqvist PR other/91048 * mklog (read_user_info): Open ~/.mklog in string mode. From-SVN: r272921 --- diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 56aaec909d0..aff6b13e6a5 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2019-07-02 Janne Blomqvist + + PR other/91048 + * mklog (read_user_info): Open ~/.mklog in string mode. + 2019-06-19 Martin Liska * bench-stringop: New file. diff --git a/contrib/mklog b/contrib/mklog index be1dc3a27fc..15558cfbfe3 100755 --- a/contrib/mklog +++ b/contrib/mklog @@ -100,7 +100,7 @@ EMAIL = ... mklog_conf = os.path.expanduser('~/.mklog') if os.path.exists(mklog_conf): attrs = {} - f = open(mklog_conf, 'rb') + f = open(mklog_conf) for s in f: if cache.match(r'^\s*([a-zA-Z0-9_]+)\s*=\s*(.*?)\s*$', s): attrs[cache.group(1)] = cache.group(2)