about summary refs log tree commit diff
path: root/locale/programs
Commit message (Collapse)AuthorAgeFilesLines
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0934-68/+34
|
* Remove PARAMS macros.Marek Polacek2012-01-311-4/+0
|
* Remove miscellaneous __STDC__ conditionals.Joseph Myers2012-01-301-5/+1
|
* Remove __STDC__ conditionals from non-installed headers.Joseph Myers2012-01-261-6/+2
|
* Add noreturn attributeMarek Polacek2012-01-101-1/+1
|
* Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper2012-01-084-13/+16
| | | | | Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
* Update copyright yearUlrich Drepper2012-01-012-4/+4
|
* Clean up locarchive mmap reservation code.Roland McGrath2011-10-081-42/+32
|
* Quash some new warnings from GCC 4.6.Roland McGrath2011-06-103-8/+1
|
* Fix typo in last patch to locarchive.cUlrich Drepper2011-05-291-1/+1
|
* Handle failure of _nl_explode_name in all casesUlrich Drepper2011-05-281-2/+11
|
* Use appropriate type for return value checkingUlrich Drepper2011-05-091-1/+1
|
* Remove doubled words.Jim Meyering2011-04-221-2/+2
|
* Update copyright year.Ulrich Drepper2011-01-172-4/+4
|
* Properly quote output of localeAndreas Schwab2010-08-121-7/+30
|
* ocale-archive differs between 32 and 64 bit platformsChris Demetriou2010-03-242-1/+4
|
* Update copyright year.Ulrich Drepper2010-03-152-9/+9
|
* Add missing declarations.Andreas Schwab2009-10-301-0/+2
|
* Fix locale program error handlingUlrich Drepper2009-09-281-1/+4
| | | | If an unknown name is passed to locale, report it and fail.
* Fix endless loop in localedef.Ulrich Drepper2009-09-071-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.
* Check generated locale for non-ASCII 8-bit characters with case conversion.Ulrich Drepper2009-07-201-1/+26
| | | | | | 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.
* * locale/programs/locarchive.c (create_archive): Add MAP_PRIVATE cvs/fedora-glibc-20090427T1419Ulrich Drepper2009-04-271-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.
* * locale/programs/locarchive.c (enlarge_archive): Conserve addressUlrich Drepper2009-04-241-9/+20
| | | | space when temporarily mapping the whole content of the old file.
* [BZ #10100]Ulrich Drepper2009-04-241-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.
* * locale/locarchive.h (struct locarhandle): Rename len field toUlrich Drepper2009-04-241-14/+101
| | | | | | | | | | | | 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.
* * locale/programs/locarchive.c (open_archive): Map the entire fileUlrich Drepper2009-04-181-9/+31
| | | | | | and not just the administrative data. (add_locale): When we find a hash sum match compare the content to be sure.
* * debug/xtrace.sh: Unify translatable messages.Ulrich Drepper2009-02-061-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>
* * posix/getconf.c: Update copyright year.Ulrich Drepper2009-01-022-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.
* (DEFINE_LANGUAGE_CODE2): Define.Ulrich Drepper2008-12-051-1/+3
|
* Remove useless more "if" tests before "free".Ulrich Drepper2008-05-271-8/+4
| | | | | | | | | * 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.
* (collate_read): Ignore script lines as well when ignoring the whole category.Ulrich Drepper2008-04-081-1/+9
|
* [BZ #5979]Ulrich Drepper2008-03-292-4/+4
| | | | | | | | | | | | | | | | | * 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.
* Remove useless "if" before "free".Ulrich Drepper2008-03-192-10/+5
|
* * posix/getconf.c: Update copyright year.Ulrich Drepper2008-01-022-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.
* * locale/programs/ld-collate.c (collate_read): Fix loop to matchUlrich Drepper2007-11-221-0/+2
| | | | macro name.
* * locale/programs/repertoire.c (repertoire_read): Always freeUlrich Drepper2007-10-131-2/+1
| | | | memory for repertoire file name [Coverity CID 270].
* * locale/programs/ld-collate.c (collate_read): Optimize a bit.Ulrich Drepper2007-10-121-17/+16
| | | | (skip_to): Fix problems with parameter of elifdef/elifndef.
* (collate_read): If ignore_content and nowtok is tok_define, eat any tok_eol ↵Ulrich Drepper2007-10-121-16/+15
| | | | tokens.
* * locale/programs/locfile-token.h: Remove tok_elif, add tok_elifdefUlrich Drepper2007-10-112-301/+568
| | | | | | and tok_elifndef. * locale/programs/locfile-kw.gperf: Likewise. * locale/programs/ld-collate.c: Implement primitive preprocessor.
* Remove tok_elif, add tok_elifdef and tok_elifndef.Ulrich Drepper2007-10-112-4/+6
|
* * locale/programs/ld-time.c (time_finish): Default forUlrich Drepper2007-10-071-2/+2
| | | | first_workday is Monday.
* [BZ #645]Ulrich Drepper2007-10-021-5/+9
| | | | | | | | | 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.
* * locales/am_ET (LC_COLLATE): Define new script after copy.Ulrich Drepper2007-10-021-3/+4
|
* * locales/sa_IN: New file.Ulrich Drepper2007-09-301-1/+2
| | | | * SUPPORTED (SUPPORTED-LOCALES): Add sa_IN.
* * locale/programs/charmap-dir.c (charmap_aliases): Use %ms instead of Jakub Jelinek2007-09-181-3/+4
| | | | | | %as in fscanf format strings. * locale/programs/charmap-dir.c (charmap_aliases): Use %ms instead of %as in fscanf format strings.
* * locale/programs/ld-collate.c (collate_output): Avoid warning ifUlrich Drepper2007-08-261-0/+2
| | | | NDEBUG is defined.
* * locale/programs/ld-monetary.c (monetary_finish): Avoid range checkUlrich Drepper2007-07-281-3/+5
| | | | | | | | | 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.
* * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known toUlrich Drepper2007-07-283-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * sysdeps/unix/sysv/linux/powerpc/lowlevellock.hUlrich Drepper2007-07-241-122/+142
| | | | | | | | | | | | | | | | (__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.
* * elf/ldconfig.c: Allow GPLv2 or any later version.Roland McGrath2007-07-1638-76/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/readlib.c: Likewise. * elf/chroot_canon.c: Likewise. * elf/cache.c: Likewise. * nscd/mem.c: Likewise. * nscd/getpwuid_r.c: Likewise. * nscd/grpcache.c: Likewise. * nscd/aicache.c: Likewise. * nscd/getsrvbynm_r.c: Likewise. * nscd/nscd.c: Likewise. * nscd/servicescache.c: Likewise. * nscd/getsrvbypt_r.c: Likewise. * nscd/initgrcache.c: Likewise. * nscd/gethstbyad_r.c: Likewise. * nscd/gethstbynm2_r.c: Likewise. * nscd/getgrnam_r.c: Likewise. * nscd/nscd_setup_thread.c: Likewise. * nscd/getpwnam_r.c: Likewise. * nscd/gai.c: Likewise. * nscd/connections.c: Likewise. * nscd/dbg_log.c: Likewise. * nscd/cache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/nscd_conf.c: Likewise. * nscd/getgrgid_r.c: Likewise. * nscd/pwdcache.c: Likewise. * catgets/gencat.c: Likewise. * locale/programs/linereader.h: Likewise. * locale/programs/locarchive.c: Likewise. * locale/programs/ld-paper.c: Likewise. * locale/programs/locfile-kw.h: Likewise. * locale/programs/ld-address.c: Likewise. * locale/programs/xmalloc.c: Likewise. * locale/programs/ld-time.c: Likewise. * locale/programs/localedef.c: Likewise. * locale/programs/simple-hash.c: Likewise. * locale/programs/xstrdup.c: Likewise. * locale/programs/ld-numeric.c: Likewise. * locale/programs/locfile-kw.gperf: Likewise. * locale/programs/ld-collate.c: Likewise. * locale/programs/charmap-kw.gperf: Likewise. * locale/programs/charmap.h: Likewise. * locale/programs/charmap-kw.h: Likewise. * locale/programs/config.h: Likewise. * locale/programs/locfile.c: Likewise. * locale/programs/ld-ctype.c: Likewise. * locale/programs/charmap.c: Likewise. * locale/programs/ld-messages.c: Likewise. * locale/programs/repertoire.h: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/ld-name.c: Likewise. * locale/programs/linereader.c: Likewise. * locale/programs/locfile.h: Likewise. * locale/programs/3level.h: Likewise. * locale/programs/ld-monetary.c: Likewise. * locale/programs/ld-measurement.c: Likewise. * locale/programs/charmap-dir.c: Likewise. * locale/programs/ld-identification.c: Likewise. * locale/programs/localedef.h: Likewise. * locale/programs/charmap-dir.h: Likewise. * locale/programs/repertoire.c: Likewise. * locale/programs/simple-hash.h: Likewise. * locale/programs/ld-telephone.c: Likewise. * locale/programs/locale-spec.c: Likewise. * locale/programs/locfile-token.h: Likewise. * posix/getconf.c: Likewise. * iconv/dummy-repertoire.c: Likewise. * iconv/iconv_charmap.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * malloc/memusagestat.c: Likewise. * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.