about summary refs log tree commit diff
path: root/localedata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-17 03:08:26 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-17 03:08:26 +0000
commit1d96d74da7f6adccd82e4000efe38900b295467a (patch)
treee17bb7feb5740943051034b27028df9e72ed0132 /localedata
parent323fb88dac799cddfaa33cb80f7fc3395c2297e5 (diff)
downloadglibc-1d96d74da7f6adccd82e4000efe38900b295467a.tar.gz
glibc-1d96d74da7f6adccd82e4000efe38900b295467a.tar.xz
glibc-1d96d74da7f6adccd82e4000efe38900b295467a.zip
Update.
	* locale/langinfo.h: Add entries for default_missing information.
	* locale/C-ctype.c: Add initializers for new fields.
	* iconv/gconv_trans.c: If nothing matched, try to use default_missing
	information.
	* locale/categories.h: Add entries for all LC_CTYPE values.
	* locale/programs/ld-ctype.c (ctype_output): Write out default_missing
	information.

	* localedata/tst-trans.c: Write out an error message if class is
	not found.
Diffstat (limited to 'localedata')
-rw-r--r--localedata/tst-trans.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/localedata/tst-trans.c b/localedata/tst-trans.c
index 03a64de690..8bc64ce069 100644
--- a/localedata/tst-trans.c
+++ b/localedata/tst-trans.c
@@ -1,5 +1,5 @@
 /* Test program for user-defined character maps.
-   Copyright (C) 1999 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>.
 
@@ -33,7 +33,10 @@ main (void)
 
   t = wctrans ("test");
   if (t == (wctrans_t) 0)
-    exit (1);
+    {
+      puts ("locale data files probably not loaded");
+      exit (1);
+    }
 
   wch = towctrans (L'A', t);
   printf ("towctrans (L'A', t) = %c\n", wch);