diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-24 21:03:16 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-24 21:03:16 +0000 |
commit | 5bef282098d6c920c12e46dea5bac099e5cb3abf (patch) | |
tree | a8eadab44e26951b9bf0abdcfc964afbe06cdbc1 /locale/xlocale.h | |
parent | f3d5834e69eeb4dca353ef35c600adb74d604f22 (diff) | |
download | glibc-5bef282098d6c920c12e46dea5bac099e5cb3abf.tar glibc-5bef282098d6c920c12e46dea5bac099e5cb3abf.tar.gz glibc-5bef282098d6c920c12e46dea5bac099e5cb3abf.tar.bz2 glibc-5bef282098d6c920c12e46dea5bac099e5cb3abf.zip |
Update.
2000-07-24 Jakub Jelinek <jakub@redhat.com>
* libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
in wide characters, not bytes.
* libio/tst_putwc.c (do_test): Add test for writing lots of data
into file.
2000-07-22 Bruno Haible <haible@clisp.cons.org>
* locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
LC_MEASUREMENT, LC_IDENTIFICATION.
* locale/xlocale.h (struct __locale_struct): Increase size of
__locales array.
* locale/duplocale.c (__duplocale): Copy newly added categories as
well.
* locale/freelocale.c (__freelocale): Free newly added categories.
* locale/newlocale.c (__newlocale): Fix typo in sanity check.
If a base is given, use it, don't simply return it.
2000-07-22 Bruno Haible <haible@clisp.cons.org>
* crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
variables, copied_key and copied_salt, instead of boolean variables.
Diffstat (limited to 'locale/xlocale.h')
-rw-r--r-- | locale/xlocale.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/locale/xlocale.h b/locale/xlocale.h index 809608037d..d1c3f978f1 100644 --- a/locale/xlocale.h +++ b/locale/xlocale.h @@ -1,5 +1,5 @@ /* Definition of locale datatype. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -27,7 +27,8 @@ go away without warning. */ typedef struct __locale_struct { - struct locale_data *__locales[6]; /* XXX LC_ALL should be used here */ + /* Note: LC_ALL is not a valid index into this array. */ + struct locale_data *__locales[13]; /* 13 = __LC_LAST. */ /* To increase the speed of this solution we add some special members. */ const unsigned short int *__ctype_b; |