aboutsummaryrefslogtreecommitdiff
path: root/locale/programs
AgeCommit message (Collapse)Author
2015-06-09Remove unused PREDEFINED_CLASSES codeMarko Myllynen
Hi, AFAICS PREDEFINED_CLASSES is never defined thus the code is unused. It would seem that the code is related to LO_LTYPE which was discussed in the past but there are no any recent references: http://pubs.opengroup.org/onlinepubs/9638399/loltype.htm Patch below, compiles and passes make check. 2015-05-12 Marko Myllynen <myllynen@redhat.com> * locale/C-ctype.c (PREDEFINED_CLASSES): Remove. * locale/programs/ld-ctype.c: Likewise.
2015-05-12Improve strcoll with strdiff.Leonhard Holz
This patch improves strcoll hot case by finding first byte that mismatches. That is in likely case enough to determine comparison result.
2015-01-13Remove some references to bcopy/bcmp/bzero.Roland McGrath
2015-01-02Update copyright dates not handled by scripts/update-copyrights.Joseph Myers
I've updated copyright dates in glibc for 2015. This is the patch for the changes not generated by scripts/update-copyrights and subsequent build / regeneration of generated files. Apart from the files updated last time (of which sotruss.ksh had moved to sotruss.sh during the year) this also updates nptl/version.c (missed from 2006 until October) and sysdeps/unix/sysv/linux/lddlibc4.c (missed since 2009). * NEWS: Update copyright dates. * catgets/gencat.c (print_version): Likewise. * csu/version.c (banner): Likewise. * debug/catchsegv.sh: Likewise. * debug/pcprofiledump.c (print_version): Likewise. * debug/xtrace.sh (do_version): Likewise. * elf/ldconfig.c (print_version): Likewise. * elf/ldd.bash.in: Likewise. * elf/pldd.c (print_version): Likewise. * elf/sotruss.sh: Likewise. * elf/sprof.c (print_version): Likewise. * iconv/iconv_prog.c (print_version): Likewise. * iconv/iconvconfig.c (print_version): Likewise. * locale/programs/locale.c (print_version): Likewise. * locale/programs/localedef.c (print_version): Likewise. * login/programs/pt_chown.c (print_version): Likewise. * malloc/memusage.sh (do_version): Likewise. * malloc/memusagestat.c (print_version): Likewise. * malloc/mtrace.pl: Likewise. * manual/libc.texinfo: Likewise. * nptl/version.c (banner): Likewise. * nscd/nscd.c (print_version): Likewise. * nss/getent.c (print_version): Likewise. * nss/makedb.c (print_version): Likewise. * posix/getconf.c (main): Likewise. * scripts/test-installation.pl: Likewise. * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2015-01-02Update copyright dates with scripts/update-copyrights.Joseph Myers
2014-12-16Return allocated array instead of unallocated.Ondřej Bílka
In locale/programs/ld-ctype.c we returned array that was on stack. Fixed by returning static array instead.
2014-12-11Get rid of warning inlining failed in call to maybe_swap_uint32Stefan Liebler
2014-09-12Minor cleanup in locale.cRoland McGrath
2014-09-12Minor cleanup in ld-ctype.cRoland McGrath
2014-07-10Fix -Wundef warning for HAVE_OBSTACKSiddhesh Poyarekar
Remove the HAVE_OBSTACK macro check and include obstack check in include path order since we don't have a copy of obstack.h in the current directory.
2014-05-26Fix searching localedef input on I18NPATH (BZ #16984)Andreas Schwab
2014-01-01Update remaining copyright datesAllan McRae
Update copyright years that are not handled by scripts/update-copyright.
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae
2013-11-20Fix build warning in locarchive.cSiddhesh Poyarekar
2013-11-19Complete display of LC_MONETARYAndreas Schwab
2013-11-18Properly handle unavailable elements in LC_MONETARY categoryAndreas Schwab
2013-10-18Enhance localedef --list-archive option.Carlos O'Donell
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 Sandiford
2013-10-08Clean up locale file alignment handling.Joseph Myers
2013-10-03Hardcode locale archive page size as 4096.Joseph Myers
2013-10-03Remove locale file dependence on int32_t alignment.Joseph Myers
2013-09-24Add localedef --big-endian and --little-endian options.Joseph Myers
2013-09-13Fix some types in localedef.Richard Sandiford
2013-09-06Make localedef output generation use more logical interfaces.Richard Sandiford
2013-08-30Fix then/than typos.Ondřej Bílka
2013-06-25Fix missing libc-internal.h include.Richard Henderson
* locale/programs/locarchive.c: Include <libc-internal.h>
2013-06-24[BZ #10283] localedef: align fixed maps to SHMLBAMike Frysinger
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 Bilka
2013-05-25localedef: include file name in error messagesMike Frysinger
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. Arnold
2013-05-10Use *stat64 instead of *stat in installed programsFlorian Weimer
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 McGrath
2013-02-18unify xmalloc prototypes & friendsMike Frysinger
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 McGrath
2013-01-03Fix "localedef --posix" descriptionAllan McRae
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2013-01-01Update copyright years.David S. Miller
* 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 Myers
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