aboutsummaryrefslogtreecommitdiff
path: root/locale/programs
AgeCommit message (Collapse)Author
2012-03-10Replace FSF snail mail address with URL in gperf input.Paul Eggert
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-01-31Remove PARAMS macros.Marek Polacek
2012-01-30Remove miscellaneous __STDC__ conditionals.Joseph Myers
2012-01-26Remove __STDC__ conditionals from non-installed headers.Joseph Myers
2012-01-10Add noreturn attributeMarek Polacek
2012-01-08Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper
Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2012-01-01Update copyright yearUlrich Drepper
2011-10-08Clean up locarchive mmap reservation code.Roland McGrath
2011-06-10Quash some new warnings from GCC 4.6.Roland McGrath
2011-05-29Fix typo in last patch to locarchive.cUlrich Drepper
2011-05-28Handle failure of _nl_explode_name in all casesUlrich Drepper
2011-05-09Use appropriate type for return value checkingUlrich Drepper
2011-04-22Remove doubled words.Jim Meyering
2011-01-17Update copyright year.Ulrich Drepper
2010-08-12Properly quote output of localeAndreas Schwab
2010-03-24ocale-archive differs between 32 and 64 bit platformsChris Demetriou
2010-03-15Update copyright year.Ulrich Drepper
2009-10-30Add missing declarations.Andreas 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-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-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-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(DEFINE_LANGUAGE_CODE2): Define.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-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-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-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-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.
2007-10-02* locales/am_ET (LC_COLLATE): Define new script after copy.Ulrich Drepper
2007-09-30* locales/sa_IN: New file.Ulrich Drepper
* SUPPORTED (SUPPORTED-LOCALES): Add sa_IN.
2007-09-18* locale/programs/charmap-dir.c (charmap_aliases): Use %ms instead of Jakub Jelinek
%as in fscanf format strings. * locale/programs/charmap-dir.c (charmap_aliases): Use %ms instead of %as in fscanf format strings.
2007-08-26* locale/programs/ld-collate.c (collate_output): Avoid warning ifUlrich Drepper
NDEBUG is defined.
2007-07-28* locale/programs/ld-monetary.c (monetary_finish): Avoid range checkUlrich Drepper
for int_frac_digits and frac_digits. * login/logout.c (logout): Avoid aliasing violation. * login/logwtmp.c (logwtmp): Likewise. * libio/genops.c (_IO_un_link): Avoid aliasing violation.
2007-07-28* nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known toUlrich Drepper
void **. * nss/nsswitch.h (service_user): Use void * type for KNOWN field. * nss/nss_files/files-hosts.c (LINE_PARSER): Cast host_addr to char * to avoid warning. * nis/nss_nis/nis-hosts.c (LINE_PARSER): Likewise. * timezone/Makefile (CFLAGS-zdump.c): Add -fwrapv. * locale/programs/ld-ctype.c (ctype_finish, set_class_defaults, allocate_arrays): Cast second argument to charmap_find_symbol to char * to avoid warnings. * locale/programs/repertoire.c (repertoire_new_char): Change from_nr, to_nr and cnt to unsigned long, adjust printf format string. * locale/programs/ld-collate.c (insert_value, handle_ellipsis): Cast second argument to new_element to char * to avoid warnings. * locale/weightwc.h (findidx): Cast &extra[-i] to const int32_t *. * intl/gettextP.h (struct loaded_domain): Change plural to const struct expression *. * intl/plural-eval.c (plural_eval): Change first argument to const struct expression *. * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Change first argument to const struct expression **. * intl/plural-exp.h (EXTRACT_PLURAL_EXPRESSION, plural_eval): Adjust prototypes. * intl/loadmsgcat (_nl_unload_domain): Cast away const in call to __gettext_free_exp. * posix/fnmatch.c (fnmatch): Rearrange code to avoid maybe unitialized wstring/wpattern var warnings. * posix/runtests.c (struct a_test): Make data field const char *. * stdio-common/tst-sprintf2.c (main): Don't declere u, v and buf vars if not LDBL_MANT_DIG >= 106. * stdio-common/Makefile (CFLAGS-vfwprintf.c): Add -Wno-unitialized. * stdio-common/vfprintf.c (vfprintf): Cast first arugment to __find_specmb to avoid warning. * rt/tst-mqueue1.c (do_one_test): Add casts to avoid warnings. * debug/test-strcpy_chk.c (do_tests, do_random_tests): Add casts to avoid warnings. * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Add L suffix to initializer. * sysdeps/unix/clock_gettime.c (clock_gettime): Only define tv var when it will be actually used. * sunrpc/rpc_cmsg.c (xdr_callmsg): Cast IXDR_PUT_* to void to avoid warnings.
2007-07-24* sysdeps/unix/sysv/linux/powerpc/lowlevellock.hUlrich Drepper
(__lll_private_flag): Define. (lll_futex_wait): Define as a wrapper around lll_futex_timed_wait. (lll_futex_timed_wait, lll_futex_wake, lll_futex_wake_unlock): Use __lll_private_flag. (lll_private_futex_wait, lll_private_futex_timedwait, lll_private_futex_wake): Define as wrapper around non-_private macros. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_private_flag): Define. (lll_futex_timed_wait, lll_futex_wake): Use __lll_private_flag. (lll_private_futex_wait, lll_private_futex_timedwait, lll_private_futex_wake): Define as wrapper around non-_private macros.