From 6990326c21e6d767e3531a00782af1e091eab4fe Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 19 Jun 1996 05:38:55 +0000 Subject: Wed Jun 19 01:27:57 1996 Roland McGrath * math/Makefile (distribute): Add ieee-math.c. Wed Jun 19 03:24:58 1996 Ulrich Drepper * locale/codeset_name.c: New file. Provide function for information about currently used character set. * locale/Makefile (routines): Add codeset_name. * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant. * locale/localeinfo.h: Change magic number because of incompatible change. * locale/C-ctype.c: Add initializer for new field `codeset_name'. * locale/programs/ld-ctype.c: Implement handling of `codeset_name'. * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. * locale/setlocale.c (setlocale): Initialize local variables to prevent warnings. --- locale/langinfo.h | 1 + 1 file changed, 1 insertion(+) (limited to 'locale/langinfo.h') diff --git a/locale/langinfo.h b/locale/langinfo.h index 3490045..4f0a58f 100644 --- a/locale/langinfo.h +++ b/locale/langinfo.h @@ -134,6 +134,7 @@ typedef enum _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH, _NL_CTYPE_MB_CUR_MAX, + _NL_CTYPE_CODESET_NAME, _NL_NUM_LC_CTYPE, /* LC_MONETARY category: formatting of monetary quantities. -- cgit v1.1