From 1d96d74da7f6adccd82e4000efe38900b295467a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 17 Jun 2000 03:08:26 +0000 Subject: 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. --- localedata/tst-trans.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'localedata/tst-trans.c') 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 . @@ -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); -- cgit v1.2.3