]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
auto-changelog: Remove latin1 from codecs
authorSiddhesh Poyarekar <siddhesh@gotplt.org>
Thu, 26 Sep 2019 19:04:26 +0000 (12:04 -0700)
committerSiddhesh Poyarekar <siddhesh@gotplt.org>
Thu, 26 Sep 2019 19:04:26 +0000 (12:04 -0700)
Bruno Haible had pointed out that latin1 is a subset of cp1252 and is
hence redundant.  I forgot to remove it back then.

ChangeLog
scripts/vcs_to_changelog/misc_util.py

index 01a567d7b54cc34c0da127501e88d9800b458b49..bb53a33e6852aeb5bb648c08ff6bf044d98c57c2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-09-26  Siddhesh Poyarekar  <siddhesh@gotplt.org>
+
+       * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
+       from codecs.
+
 2019-09-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
        * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
index 51632f6f4a1a6eb153d4e152491d65e63afc7e39..b425bec30049a8b99712ab66e65636a8210fbd7b 100644 (file)
@@ -40,7 +40,7 @@ def decode(string):
     Decode a string read from the source file.  The multiple attempts are needed
     due to the presence of the page break characters and some tests in locales.
     '''
-    codecs = ['utf8', 'latin1', 'cp1252']
+    codecs = ['utf8', 'cp1252']
 
     for i in codecs:
         try: