about summary refs log tree commit diff
path: root/iconvdata/ibm1162.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-10-31 09:32:37 +0000
committerUlrich Drepper <drepper@redhat.com>2001-10-31 09:32:37 +0000
commit557a9213f62052045ed7302961a77105eba6de05 (patch)
tree7a3fdbc9dd493e2b6f3b81f4002e7b7ee4573e87 /iconvdata/ibm1162.c
parent604febbae0da47ca8f3864c8512fcfbcdf781ff5 (diff)
downloadglibc-557a9213f62052045ed7302961a77105eba6de05.tar.gz
glibc-557a9213f62052045ed7302961a77105eba6de05.tar.xz
glibc-557a9213f62052045ed7302961a77105eba6de05.zip
Update.
2001-10-31  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162
	modules.
	* iconvdata/TESTS: Likewise.
	* iconvdata/gconv-modules: Likewise.
	* iconvdata/ibm1132.c: New file.
	* iconvdata/ibm1132.h: New file.
	* iconvdata/ibm1133.c: New file.
	* iconvdata/ibm1133.h: New file.
	* iconvdata/ibm1162.c: New file.
	* iconvdata/ibm1162.h: New file.
	* iconvdata/testdata/IBM1132: New file.
	* iconvdata/testdata/IBM1132..UTF8: New file.
	* iconvdata/testdata/IBM1133: New file.
	* iconvdata/testdata/IBM1133..UTF8: New file.
	* iconvdata/testdata/IBM1162: New file.
	* iconvdata/testdata/IBM1162..UTF8: New file.
	Patches by Masahide Washizawa <WASHI@jp.ibm.com>.

	* string/string.h: Fix typo in comment.
	* wcsmbs/wchar.h: Likewise.

2001-10-30  Joseph S. Myers  <jsm28@cam.ac.uk>

	* manual/getopt.texi (getopt_long, getopt_long_only): Include
	const in type of longopts parameter.

	* sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions.
	* manual/stdio.texi (Integer Conversions): Corrections to sample printf
Diffstat (limited to 'iconvdata/ibm1162.c')
-rw-r--r--iconvdata/ibm1162.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/iconvdata/ibm1162.c b/iconvdata/ibm1162.c
new file mode 100644
index 0000000000..090e815ff8
--- /dev/null
+++ b/iconvdata/ibm1162.c
@@ -0,0 +1,29 @@
+/* Conversion from and to IBM1162.
+   Copyright (C) 2001 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <stdint.h>
+
+/* Get the conversion table.  */
+#define TABLES <ibm1162.h>
+
+#define CHARSET_NAME	"IBM1162//"
+#define HAS_HOLES	1	/* Not all 256 character are defined.  */
+
+#include <8bit-gap.c>