summaryrefslogtreecommitdiff
path: root/locale/programs
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused PREDEFINED_CLASSES codeMarko Myllynen2015-06-091-77/+4
| | | | | | | | | | | | | | | 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.
* Improve strcoll with strdiff.Leonhard Holz2015-05-121-0/+9
| | | | | | This patch improves strcoll hot case by finding first byte that mismatches. That is in likely case enough to determine comparison result.
* Remove some references to bcopy/bcmp/bzero.Roland McGrath2015-01-131-4/+0
|
* Update copyright dates not handled by scripts/update-copyrights.Joseph Myers2015-01-022-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update copyright dates with scripts/update-copyrights.Joseph Myers2015-01-0238-38/+38
|
* Return allocated array instead of unallocated.Ondřej Bílka2014-12-161-8/+8
| | | | | In locale/programs/ld-ctype.c we returned array that was on stack. Fixed by returning static array instead.
* Get rid of warning inlining failed in call to maybe_swap_uint32Stefan Liebler2014-12-111-1/+2
|
* Minor cleanup in locale.cRoland McGrath2014-09-121-135/+128
|
* Minor cleanup in ld-ctype.cRoland McGrath2014-09-121-130/+128
|
* Fix -Wundef warning for HAVE_OBSTACKSiddhesh Poyarekar2014-07-101-5/+1
| | | | | | 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.
* Fix searching localedef input on I18NPATH (BZ #16984)Andreas Schwab2014-05-262-2/+2
|
* Update remaining copyright datesAllan McRae2014-01-012-2/+2
| | | | Update copyright years that are not handled by scripts/update-copyright.
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-0138-38/+38
|
* Fix build warning in locarchive.cSiddhesh Poyarekar2013-11-201-3/+3
|
* Complete display of LC_MONETARYAndreas Schwab2013-11-191-0/+18
|
* Properly handle unavailable elements in LC_MONETARY categoryAndreas Schwab2013-11-183-1/+7
|
* Enhance localedef --list-archive option.Carlos O'Donell2013-10-184-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
* Fix localedef collation handling of <U0000> (bug 15948).Richard Sandiford2013-10-181-0/+4
|
* Clean up locale file alignment handling.Joseph Myers2013-10-084-6/+8
|
* Hardcode locale archive page size as 4096.Joseph Myers2013-10-031-1/+6
|
* Remove locale file dependence on int32_t alignment.Joseph Myers2013-10-031-24/+14
|
* Add localedef --big-endian and --little-endian options.Joseph Myers2013-09-245-190/+292
|
* Fix some types in localedef.Richard Sandiford2013-09-131-4/+3
|
* Make localedef output generation use more logical interfaces.Richard Sandiford2013-09-0615-1611/+658
|
* 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
|