aboutsummaryrefslogtreecommitdiff
path: root/locale/programs
AgeCommit message (Collapse)AuthorFilesLines
2014-01-01Update remaining copyright datesAllan McRae2-2/+2
Update copyright years that are not handled by scripts/update-copyright.
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae38-38/+38
2013-11-20Fix build warning in locarchive.cSiddhesh Poyarekar1-3/+3
2013-11-19Complete display of LC_MONETARYAndreas Schwab1-0/+18
2013-11-18Properly handle unavailable elements in LC_MONETARY categoryAndreas Schwab3-1/+7
2013-10-18Enhance localedef --list-archive option.Carlos O'Donell4-10/+26
The localedef --list-archive option claims that it can accept a [file] argument and list the contents of that archive. The support was never implemented. This patch adds that support and allows --list-archive to work as expected. You can now use localedef to list the contents of arbitrary locale archives by using: ./localedef --list-archive file
2013-10-18Fix localedef collation handling of <U0000> (bug 15948).Richard Sandiford1-0/+4
2013-10-08Clean up locale file alignment handling.Joseph Myers4-6/+8
2013-10-03Hardcode locale archive page size as 4096.Joseph Myers1-1/+6
2013-10-03Remove locale file dependence on int32_t alignment.Joseph Myers1-24/+14
2013-09-24Add localedef --big-endian and --little-endian options.Joseph Myers5-190/+292
2013-09-13Fix some types in localedef.Richard Sandiford1-4/+3
2013-09-06Make localedef output generation use more logical interfaces.Richard Sandiford15-1611/+658
2013-08-30Fix then/than typos.Ondřej Bílka2-2/+2
2013-06-25Fix missing libc-internal.h include.Richard Henderson1-0/+1
* locale/programs/locarchive.c: Include <libc-internal.h>
2013-06-24[BZ #10283] localedef: align fixed maps to SHMLBAMike Frysinger1-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>
2013-06-06Fix leading whitespaces.Ondrej Bilka2-2/+2
2013-05-25localedef: include file name in error messagesMike Frysinger1-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>
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold22-0/+23
2013-05-10Use *stat64 instead of *stat in installed programsFlorian Weimer2-14/+14
This ensures reliable operation on file systems with inode numbers which do not fit into 32 bits.
2013-03-20BZ#14812: Add missing N_ markers in localedef.Roland McGrath1-5/+6
2013-02-18unify xmalloc prototypes & friendsMike Frysinger3-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>
2013-02-07Remove lots of inline keywords.Roland McGrath1-1/+1
2013-01-03Fix "localedef --posix" descriptionAllan McRae1-1/+1
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers38-41/+38
2013-01-01Update copyright years.David S. Miller2-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.
2012-11-09Support --with-pkgversion and --with-bugurl.Joseph Myers2-8/+17
2012-03-10Replace FSF snail mail address with URL in gperf input.Paul Eggert4-28/+34
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert34-68/+34
2012-01-31Remove PARAMS macros.Marek Polacek1-4/+0
2012-01-30Remove miscellaneous __STDC__ conditionals.Joseph Myers1-5/+1
2012-01-26Remove __STDC__ conditionals from non-installed headers.Joseph Myers1-6/+2
2012-01-10Add noreturn attributeMarek Polacek1-1/+1
2012-01-08Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper4-13/+16
Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2012-01-01Update copyright yearUlrich Drepper2-4/+4
2011-10-08Clean up locarchive mmap reservation code.Roland McGrath1-42/+32
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 Drepper1-2/+11
2011-05-09Use appropriate type for return value checkingUlrich Drepper1-1/+1
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-24ocale-archive differs between 32 and 64 bit platformsChris Demetriou2-1/+4
2010-03-15Update copyright year.Ulrich Drepper2-9/+9
2009-10-30Add missing declarations.Andreas Schwab1-0/+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-07-20Check generated locale for non-ASCII 8-bit characters with case conversion.Ulrich Drepper1-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.
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.