aboutsummaryrefslogtreecommitdiff
path: root/locale
AgeCommit message (Collapse)AuthorFilesLines
2011-10-08Clean up locarchive mmap reservation code.Roland McGrath1-42/+32
2011-09-10Cleanup of configuration optionsUlrich Drepper2-14/+4
Make several tool features mandatory and simplify the code.
2011-09-08Remove support for automatic cvs check-insUlrich Drepper1-3/+0
CVS use for glibc is long gone.
2011-08-14Clean up locale/Makefile variables for -D switches.Roland McGrath1-11/+17
2011-08-13Fix compile problemUlrich Drepper1-2/+3
l10nflist compiles for localedef now. Optimize a bit.
2011-06-10Quash some new warnings from GCC 4.6.Roland McGrath3-8/+1
2011-05-29Fix typo in last patch to locarchive.cUlrich Drepper1-1/+1
2011-05-28Handle failure of _nl_explode_name in all casesUlrich Drepper2-3/+15
2011-05-21Fix handling of LC_CTYPE in locale name handlingUlrich Drepper1-2/+2
2011-05-15Add entry for Sorani languageUlrich Drepper1-0/+1
2011-05-09Add ary language entry.Ulrich Drepper1-0/+1
2011-05-09Support Colon SignUlrich Drepper2-597/+598
Used in the Costa Rican locale and now also in the El Salvadorian locale.
2011-05-09Add wae_CH localeKevin Bortis1-0/+1
2011-05-09Use appropriate type for return value checkingUlrich Drepper1-1/+1
2011-05-09Transliterate U20B9.Ulrich Drepper2-497/+498
2011-04-22Remove doubled words.Jim Meyering1-2/+2
2011-01-17Update copyright year.Ulrich Drepper2-4/+4
2010-08-12Properly quote output of localeAndreas Schwab1-7/+30
2010-03-26Finish locale_data -> __locale_data transition.Richard Henderson1-2/+2
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 Demetriou2-1/+4
2010-03-15Update copyright year.Ulrich Drepper2-9/+9
2010-01-22_nl_load_locale() incorrectly handles mmap() failuresJoe Landers1-0/+1
2010-01-09Add support for XPG7 testing.Ulrich Drepper21-91/+92
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 Drepper2-0/+34
2009-11-17Handle LC_GLOBAL_LOCALE in duplocale.Ulrich Drepper2-2/+6
2009-11-17Fix _NC_LOCALE_NAME definition.Ulrich Drepper2-4/+5
2009-10-30Add missing declarations.Andreas Schwab1-0/+2
2009-10-29Add sml entry to ISO 639 list.Ulrich Drepper1-0/+1
2009-10-05Fix week-1stday in C localeAndreas Schwab1-2/+2
2009-09-28Fix locale program error handlingUlrich Drepper1-1/+4
If an unknown name is passed to locale, report it and fail.
2009-09-07Fix endless loop in localedef.Ulrich Drepper1-28/+31
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 Drepper1-1/+1
I incorrectly enabled the definitions for XPG6.
2009-07-20Use correct index for _NL_CTYPE_NONASCII_CASE.Ulrich Drepper2-5/+5
2009-07-20Check generated locale for non-ASCII 8-bit characters with case conversion.Ulrich Drepper4-4/+34
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 Schwab1-6/+0
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering1-0/+0
2009-04-27* locale/programs/locarchive.c (create_archive): Add MAP_PRIVATEcvs/fedora-glibc-20090427T1419Ulrich Drepper1-11/+32
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 Drepper1-9/+20
space when temporarily mapping the whole content of the old file.
2009-04-24[BZ #10100]Ulrich Drepper1-15/+12
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 Drepper2-16/+104
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 Drepper1-9/+31
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 Drepper1-0/+1
* elf/dl-sysdep.c (auxvars): Compress data structure.
2009-02-26* ctype/ctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper3-6/+7
* 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 Jelinek1-2/+2
* 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 Drepper1-4/+22
* 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 Drepper2-4/+4
* 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 Drepper1-1/+3
* locale/iso-639.def: Add Chhattisgarhi entry.
2008-12-05(DEFINE_LANGUAGE_CODE2): Define.Ulrich Drepper1-1/+3
2008-11-07* bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, Jakub Jelinek4-15/+19
__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 Drepper1-1/+1
warning.