This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
bug in MACINTOSH converter
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: bug in MACINTOSH converter
- From: Bruno Haible <haible at ilog dot fr>
- Date: Mon, 31 Jul 2000 17:24:12 +0200 (CEST)
The iconv converter module for MACINTOSH has a bug: It converts the undefined
characters 0xf6 and 0xf7 to U+0000.
Here is a fix.
2000-07-30 Bruno Haible <haible@clisp.cons.org>
* iconvdata/macintosh.c (HAS_HOLES): Set to 1.
*** glibc-20000729/iconvdata/macintosh.c.bak Tue Sep 7 16:50:57 1999
--- glibc-20000729/iconvdata/macintosh.c Sun Jul 30 20:22:48 2000
***************
*** 1,5 ****
/* Conversion from and to MACINTOSH.
! Copyright (C) 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
--- 1,5 ----
/* Conversion from and to MACINTOSH.
! Copyright (C) 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
***************
*** 24,29 ****
#define TABLES <macintosh.h>
#define CHARSET_NAME "MACINTOSH//"
! #define HAS_HOLES 0 /* All 256 character are defined. */
#include <8bit-gap.c>
--- 24,29 ----
#define TABLES <macintosh.h>
#define CHARSET_NAME "MACINTOSH//"
! #define HAS_HOLES 1 /* Not all 256 characters are defined. */
#include <8bit-gap.c>