diff options
author | Roland McGrath <roland@gnu.org> | 1996-06-19 05:38:55 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-06-19 05:38:55 +0000 |
commit | 6990326c21e6d767e3531a00782af1e091eab4fe (patch) | |
tree | 152c349333df65328c835486fe719a4488856c90 /locale/setlocale.c | |
parent | bd1be8ec88e0e9b7c0dc8d4c0ebfea69a11290f7 (diff) | |
download | glibc-6990326c21e6d767e3531a00782af1e091eab4fe.tar glibc-6990326c21e6d767e3531a00782af1e091eab4fe.tar.gz glibc-6990326c21e6d767e3531a00782af1e091eab4fe.tar.bz2 glibc-6990326c21e6d767e3531a00782af1e091eab4fe.zip |
Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* math/Makefile (distribute): Add ieee-math.c.
Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
* 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.
Diffstat (limited to 'locale/setlocale.c')
-rw-r--r-- | locale/setlocale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/setlocale.c b/locale/setlocale.c index 6eb6d98d70..98a4ffe63b 100644 --- a/locale/setlocale.c +++ b/locale/setlocale.c @@ -367,8 +367,8 @@ setlocale (int category, const char *locale) } else { - const struct locale_data *newdata; - char *newname; + const struct locale_data *newdata = NULL; + char *newname = NULL; if (_nl_current[category] != NULL) { |