summary refs log tree commit diff
path: root/locale/programs
Commit message (Collapse)AuthorAgeFilesLines
* Fix then/than typos.Ondřej Bílka2013-08-302-2/+2
|
* Fix missing libc-internal.h include.Richard Henderson2013-06-251-0/+1
| | | | * locale/programs/locarchive.c: Include <libc-internal.h>
* [BZ #10283] localedef: align fixed maps to SHMLBAMike Frysinger2013-06-241-16/+45
| | | | | | | | | | | | Many Linux arches require fixed mmaps to be aligned higher than pagesize, so use the SHMLBA define as it represents this quantity exactly. This fixes spurious errors seen on those arches like: cannot map archive header: Invalid argument URL: http://sourceware.org/bugzilla/show_bug.cgi?id=10283 Reported-by: CHIKAMA Masaki <masaki.chikama@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix leading whitespaces.Ondrej Bilka2013-06-062-2/+2
|
* localedef: include file name in error messagesMike Frysinger2013-05-251-2/+2
| | | | | | | | | | When mkstemp fails, the error message the user gets back is: cannot create temporary file: No such file or directory That isn't terribly useful in figuring out why, so include the full filename we tried to create in the error output. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-1622-0/+23
|
* Use *stat64 instead of *stat in installed programsFlorian Weimer2013-05-102-14/+14
| | | | | This ensures reliable operation on file systems with inode numbers which do not fit into 32 bits.
* BZ#14812: Add missing N_ markers in localedef.Roland McGrath2013-03-201-5/+6
|
* unify xmalloc prototypes & friendsMike Frysinger2013-02-183-15/+3
| | | | | | | | These prototypes are duplicated in many places. Add a dedicated header for holding prototypes for program-specific functions to avoid that. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Remove lots of inline keywords.Roland McGrath2013-02-071-1/+1
|
* Fix "localedef --posix" descriptionAllan McRae2013-01-031-1/+1
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0238-41/+38
|
* Update copyright years.David S. Miller2013-01-012-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * catgets/gencat.c: Update copyright year. * csu/version.c: Likewise. * debug/catchsegv.sh: Likewise. * debug/pcprofiledump.c: Likewise. * debug/xtrace.sh: Likewise. * elf/ldconfig.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/pldd.c: Likewise. * elf/sotruss.ksh: Likewise. * elf/sprof.c: Likewise. * iconv/iconv_prog.c: Likewise. * iconv/iconvconfig.c: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * login/programs/pt_chown.c: Likewise. * malloc/memusage.sh: Likewise. * malloc/memusagestat.c: Likewise. * malloc/mtrace.pl: Likewise. * nscd/nscd.c: Likewise. * nss/getent.c: Likewise. * nss/makedb.c: Likewise. * posix/getconf.c: Likewise.
* Support --with-pkgversion and --with-bugurl.Joseph Myers2012-11-092-8/+17
|
* Replace FSF snail mail address with URL in gperf input.Paul Eggert2012-03-104-28/+34
|
* 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.