aboutsummaryrefslogtreecommitdiff
path: root/locale
AgeCommit message (Collapse)Author
2010-03-26Finish locale_data -> __locale_data transition.Richard Henderson
The transition that was begun here f095bb7204d80f609a73a22796edd6cffd4c6add was not complete. Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-24ocale-archive differs between 32 and 64 bit platformsChris Demetriou
2010-03-15Update copyright year.Ulrich Drepper
2010-01-22_nl_load_locale() incorrectly handles mmap() failuresJoe Landers
2010-01-09Add support for XPG7 testing.Ulrich Drepper
The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
2009-11-17Add missing test files.Ulrich Drepper
2009-11-17Handle LC_GLOBAL_LOCALE in duplocale.Ulrich Drepper
2009-11-17Fix _NC_LOCALE_NAME definition.Ulrich Drepper
2009-10-30Add missing declarations.Andreas Schwab
2009-10-29Add sml entry to ISO 639 list.Ulrich Drepper
2009-10-05Fix week-1stday in C localeAndreas Schwab
2009-09-28Fix locale program error handlingUlrich Drepper
If an unknown name is passed to locale, report it and fail.
2009-09-07Fix endless loop in localedef.Ulrich Drepper
localedef got into an endless loop in case order_start was used for the unnamed_section twice and the first use didn't actually result into any definition.
2009-08-23Thread-local locale handling part of XPG7.Ulrich Drepper
I incorrectly enabled the definitions for XPG6.
2009-07-20Use correct index for _NL_CTYPE_NONASCII_CASE.Ulrich Drepper
2009-07-20Check generated locale for non-ASCII 8-bit characters with case conversion.Ulrich Drepper
If a locale does not have 8-bit characters with case conversion which are different from the ASCII conversion (±0x20) then we can perform some optimizations. These will follow later.
2009-05-16Remove redundant .gitignore files.Andreas Schwab
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering
2009-04-27* locale/programs/locarchive.c (create_archive): Add MAP_PRIVATEcvs/fedora-glibc-20090427T1419Ulrich Drepper
to MAP_ANON in PROT_NONE mmap64 call. (open_archive): Likewise. (file_data_available_p): Use mmap64 instead of mremap. (enlarge_archive): Likewise. Update head if ah->addr changed. Attempt to reserve address space after mmap64 region.
2009-04-24* locale/programs/locarchive.c (enlarge_archive): Conserve addressUlrich Drepper
space when temporarily mapping the whole content of the old file.
2009-04-24[BZ #10100]Ulrich Drepper
2009-04-24 Ulrich Drepper <drepper@redhat.com> [BZ #10100] * misc/hsearch_r.c (hsearch_r): Add back ensurance that hval is not zero.
2009-04-24* locale/locarchive.h (struct locarhandle): Rename len field toUlrich Drepper
mmaped and add new reserved field. * locale/programs/locarchive.c (RESERVE_MMAP_SIZE): Define. (create_archive): Reserve address space and then map file into it. (open_archive): Likewise. (file_data_available_p): New function. (compare_from_file): New function. (close_archive): Adjust to member name changes. (add_locale): Before comparing locale data, check it is mapped. Otherwise fall back to reading from the file.
2009-04-18* locale/programs/locarchive.c (open_archive): Map the entire fileUlrich Drepper
and not just the administrative data. (add_locale): When we find a hash sum match compare the content to be sure.
2009-03-14* elf/dl-sysdep.c (_dl_show_auxv): Add support for AT_BASE_PLATFORM.Ulrich Drepper
* elf/dl-sysdep.c (auxvars): Compress data structure.
2009-02-26* ctype/ctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper
* dirent/dirent.h: alphasort, dirfd, scandir, and fdopendir are in POSIX 2008. /proc/sys/kernel/rtsig_max doesn't exist anymore, use getrlimit
2009-02-16* stdlib/monetary.h: Uglify function parameter names. cvs/fedora-glibc-20090218T1534Jakub Jelinek
* sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. 2009-02-16 Jakub Jelinek <jakub@redhat.com> * stdlib/monetary.h: Uglify function parameter names. * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2009-02-06* debug/xtrace.sh: Unify translatable messages.Ulrich Drepper
* elf/ldd.bash.in: Likewise. * elf/sprof.c: Likewise. * locale/programs/locale.c: Likewise. * malloc/memusage.sh: Likewise. * nss/getent.c: Likewise. 2009-02-06 Joseph Myers <joseph@codesourcery.com> * debug/pcprofiledump.c (print_version, argp_program_version_hook): New function. * elf/ldconfig.c (more_help): New function. (argp): Use it. * elf/sln.c (usage): New function. (main): Support --help and --version. * malloc/memusagestat.c (print_version): New function. (argp_program_version_hook): New variable. * nscd/nscd.c (more_help): New function. (argp): Use it. * posix/getconf.c (main): Send --version output to stdout. Support --help. * sunrpc/rpc_main.c (usage, options_usage): Take STREAM and STATUS arguments. All callers changed. (print_version): New function. (parseargs): Support --help and --version. * sunrpc/rpcinfo.c (usage): Take STREAM argument. All callers changed. (print_version): New function. (main): Use getopt_long. Support --help and --version. * sysdeps/unix/sysv/linux/lddlibc4.c (main): Support --help and --version. 2009-02-06 Ulrich Drepper <drepper@redhat.com>
2009-01-02* posix/getconf.c: Update copyright year.Ulrich Drepper
* nss/getent.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * elf/ldconfig.c: Likewise. * catgets/gencat.c: Likewise. * csu/version.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/sprof.c (print_version): Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * nscd/nscd.c (print_version): Likewise. * debug/xtrace.sh: Likewise. * malloc/memusage.sh: Likewise. * malloc/mtrace.pl: Likewise. * debug/catchsegv.sh: Likewise.
2008-12-05* locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE2): Define.Ulrich Drepper
* locale/iso-639.def: Add Chhattisgarhi entry.
2008-12-05(DEFINE_LANGUAGE_CODE2): Define.Ulrich Drepper
2008-11-07* bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, Jakub Jelinek
__libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type of the thread variable instead of void *. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust __libc_tsd_address arguments. Remove union hack. * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. * sunrpc/rpc_thread.c (RPC_VARS): Likewise. (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): Adjust __libc_tsd_{set,get} arguments. * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} arguments. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. (LOCALE): Adjust __libc_tsd_define arguments. * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get arguments. (LOCALE): Adjust __libc_tsd_define arguments. * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. nptl/ * sysdeps/pthread/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. 2008-11-07 Jakub Jelinek <jakub@redhat.com> * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type of the thread variable instead of void *. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust __libc_tsd_address arguments. Remove union hack. * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. * sunrpc/rpc_thread.c (RPC_VARS): Likewise. (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): Adjust __libc_tsd_{set,get} arguments. * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} arguments. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. (LOCALE): Adjust __libc_tsd_define arguments. * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get arguments. (LOCALE): Adjust __libc_tsd_define arguments. * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments.
2008-07-20* locale/setlocale.c (setname): Remove inline to avoid compilerUlrich Drepper
warning.
2008-07-20* locale/setlocale.c (setlocale): Take the setlocale lock earlier.Ulrich Drepper
2008-05-27Remove useless more "if" tests before "free".Ulrich Drepper
* include/inline-hashtab.h (htab_delete): Likewise. * libio/freopen.c (freopen): Likewise. * libio/freopen64.c (freopen64): Likewise. * locale/programs/ld-collate.c (collate_read): Likewise. * misc/fstab.c (libc_freeres_fn): Likewise. * posix/glob.c (globfree): Likewise.
2008-04-08(collate_read): Ignore script lines as well when ignoring the whole category.Ulrich Drepper
2008-03-31[BZ #5443]Ulrich Drepper
2008-03-30 Ulrich Drepper <drepper@redhat.com> [BZ #5443] * intl/dcigettext.c (__dcigettext): Get reader lock for locale data before looking for translation. * locale/duplocale.c: Transform __libc_setlocale_lock into rwlock. * locale/freelocale.c: Likewise. * locale/newlocale.c: Likewise. * locale/setlocale.c: Likewise. Based partially on a patch by ryo@np.css.fujitsu.com.
2008-03-29[BZ #5979]Ulrich Drepper
* sunrpc/auth_unix.c: Unify printed strings. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/xdr.c: Likewise. * sunrpc/xdr_array.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * locale/programs/ld-time.c (time_finish): Unify messages. * locale/programs/locfile.c (handle_copy): Fix typo. * nscd/nscd.c (options): Fix typo.
2008-03-19Remove useless "if" before "free".Ulrich Drepper
2008-03-04[BZ #5627]Ulrich Drepper
2008-03-04 Ulrich Drepper <drepper@redhat.com> [BZ #5627] * locale/iso-639.def: Add Shuswap.
2008-01-02* posix/getconf.c: Update copyright year.Ulrich Drepper
* nss/getent.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * elf/ldconfig.c: Likewise. * catgets/gencat.c: Likewise. * csu/version.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/sprof.c (print_version): Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * nscd/nscd.c (print_version): Likewise. * debug/xtrace.sh: Likewise. * malloc/memusage.sh: Likewise. * malloc/mtrace.pl: Likewise. * debug/catchsegv.sh: Likewise.
2007-12-14* locale/nl_langinfo.c (nl_langinfo): Just call __nl_langinfo_l.Ulrich Drepper
* locale/nl_langinfo_l.c: Real implementation, copied from nl_langinfo.c. * include/langinfo.h: Add libc_hidden_proto for __nl_langinfo_l.
2007-11-22* locale/programs/ld-collate.c (collate_read): Fix loop to matchUlrich Drepper
macro name.
2007-10-13* locale/programs/repertoire.c (repertoire_read): Always freeUlrich Drepper
memory for repertoire file name [Coverity CID 270].
2007-10-12* locale/programs/ld-collate.c (collate_read): Optimize a bit.Ulrich Drepper
(skip_to): Fix problems with parameter of elifdef/elifndef.
2007-10-12(collate_read): If ignore_content and nowtok is tok_define, eat any tok_eol ↵Ulrich Drepper
tokens.
2007-10-11* locale/programs/locfile-token.h: Remove tok_elif, add tok_elifdefUlrich Drepper
and tok_elifndef. * locale/programs/locfile-kw.gperf: Likewise. * locale/programs/ld-collate.c: Implement primitive preprocessor.
2007-10-11Remove tok_elif, add tok_elifdef and tok_elifndef.Ulrich Drepper
2007-10-07* locale/programs/ld-time.c (time_finish): Default forUlrich Drepper
first_workday is Monday.
2007-10-07[BZ #181]Ulrich Drepper
* locale/C-time.c: Set week_1stday data to 19971201.
2007-10-02[BZ #645]Ulrich Drepper
2007-10-02 Ulrich Drepper <drepper@redhat.com> [BZ #645] * locale/programs/ld-collate.c (collate_finish): Compare against last used section which is known to have rules defined. (collate_read): After order_start, correctly record order of sections and queue sections up.