summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-06-14 22:34:09 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-06-14 22:34:10 +0200
commit14beef7575099f6373f9a45b4656f1e3675f7372 (patch)
tree6995857a24d56f439f0b5848963a7030039889d0
parentc596630bbdcab1520f0f2ebe065bc7b7eb508e99 (diff)
downloadglibc-14beef7575099f6373f9a45b4656f1e3675f7372.tar.gz
localedata: Make IBM273 compatible with ISO-8859-1 [BZ #23290]
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
-rw-r--r--ChangeLog8
-rw-r--r--iconvdata/ibm273.c2
-rw-r--r--localedata/charmaps/IBM2732
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3604b1c717..6cf157acb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-06-14 Florian Weimer <fweimer@redhat.com>
+
+ [BZ #23290]
+ * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
+ that the result stays within the ISO-8859-1 range.
+ * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
+ characters are defined in IBM273.
+
2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
diff --git a/iconvdata/ibm273.c b/iconvdata/ibm273.c
index c303cf306d..132c06f0eb 100644
--- a/iconvdata/ibm273.c
+++ b/iconvdata/ibm273.c
@@ -23,6 +23,6 @@
#define TABLES <ibm273.h>
#define CHARSET_NAME "IBM273//"
-#define HAS_HOLES 1 /* Not all 256 character are defined. */
+#define HAS_HOLES 0
#include <8bit-gap.c>
diff --git a/localedata/charmaps/IBM273 b/localedata/charmaps/IBM273
index c3f70e2a6f..4401101b50 100644
--- a/localedata/charmaps/IBM273
+++ b/localedata/charmaps/IBM273
@@ -194,7 +194,7 @@ CHARMAP
<U00BE> /xb9 VULGAR FRACTION THREE QUARTERS
<U00AC> /xba NOT SIGN
<U007C> /xbb VERTICAL LINE
-<U203E> /xbc OVERLINE
+<U00AF> /xbc MACRON
<U00A8> /xbd DIAERESIS
<U00B4> /xbe ACUTE ACCENT
<U00D7> /xbf MULTIPLICATION SIGN