This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I belive this fix is necessary (without it I get a segmentation fault in the perl 5.6.0 testsuite on the Hurd). Mark 2000-07-22 Mark Kettenis <kettenis@gnu.org> * locale/findlocale.c (locale_file_list): Use __LC_LAST as array size instead of LC_ALL to take into account the new locale categories. Index: locale/findlocale.c =================================================================== RCS file: /cvs/glibc/libc/locale/findlocale.c,v retrieving revision 1.17 diff -u -p -r1.17 findlocale.c --- locale/findlocale.c 2000/06/16 22:55:50 1.17 +++ locale/findlocale.c 2000/07/22 15:29:16 @@ -34,7 +34,7 @@ extern struct locale_data *const _nl_C[] /* For each category we keep a list of records for the locale files which are somehow addressed. */ -static struct loaded_l10nfile *locale_file_list[LC_ALL]; +static struct loaded_l10nfile *locale_file_list[__LC_LAST]; struct locale_data *
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |