This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bug in MACINTOSH converter



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>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]