aboutsummaryrefslogtreecommitdiff
path: root/iconv
AgeCommit message (Collapse)AuthorFilesLines
2015-12-03Backport removal of __gconv_translit_findStan Shebs1-173/+4
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 McRae30-30/+30
2013-10-12Fix typos.Yuri Chornoivan1-1/+1
2013-08-30Fix typos.Ondřej Bílka2-2/+2
2013-08-21Fix typos.Ondřej Bílka3-4/+4
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold3-0/+4
2013-05-10Use *stat64 instead of *stat in installed programsFlorian Weimer2-4/+4
This ensures reliable operation on file systems with inode numbers which do not fit into 32 bits.
2013-03-18BZ#14812: Add missing translation marker on some argp option argument names ↵Roland McGrath2-5/+6
in utilities.
2013-02-18unify xmalloc prototypes & friendsMike Frysinger3-12/+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-17Sort Versions filesAndreas Jaeger1-2/+2
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers29-31/+29
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers1-2/+1
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-16iconv: Fix -cAndrej Lajovic1-2/+2
2012-11-16 Andrej Lajovic <natrij@gmail.com> [BZ #14672] * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2012-11-09Support --with-pkgversion and --with-bugurl.Joseph Myers2-6/+12
2012-10-24Define and use $(run-built-tests).Joseph Myers1-1/+1
2012-09-10Update copyright yearsH.J. Lu1-2/+1
2012-09-07Check if deriv->steps is NULL before freeing itH.J. Lu1-3/+6
2012-07-30Fix lots of bitrot for stub configurations.Roland McGrath1-2/+2
2012-03-07Remove distribute variable from MakefilesUlrich Drepper1-4/+0
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert30-85/+55
2012-01-08Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper3-8/+14
Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2012-01-08Simplify char16_t implementationUlrich Drepper4-414/+4
2012-01-07Remove pre-ISO C supportUlrich Drepper6-60/+60
No more __const.
2012-01-07Remove non-ELF supportUlrich Drepper1-7/+2
2012-01-07More char16_t and char32_t supportUlrich Drepper4-32/+350
It works now for UTF-8 locales
2012-01-03Fix assertion in gconv's loop.cUlrich Drepper1-2/+3
2012-01-01Add uchar.h support, part 1Ulrich Drepper3-5/+97
c16 support for locales other than the C locale is still missing.
2012-01-01Update copyright yearUlrich Drepper2-4/+4
2011-12-21Store invocation-specific data of conversion modules in __gconv_step_dataUlrich Drepper1-2/+3
2011-11-15Clean up internal fopen usesUlrich Drepper1-1/+1
No need to ever not use c and e.
2011-09-10Cleanup of configuration optionsUlrich Drepper1-5/+3
Make several tool features mandatory and simplify the code.
2011-05-14Optimize conversion of single character in gconvUlrich Drepper1-1/+2
2011-05-14Fix handling of incomplete character storage in stateUlrich Drepper1-1/+4
If iconv is called more than once in a row for adding bytes to the sequence while still remain under the minimum size of a character and if STORE_REST is defined, we didn't consume any input. Fix that.
2011-04-01Fix typos in comments.Ulrich Drepper1-3/+3
2011-01-17Update copyright year.Ulrich Drepper2-4/+4
2010-03-15Update copyright year.Ulrich Drepper2-19/+19
2010-01-25Fix error checking in iconv.Andreas Schwab1-1/+1
2009-04-24[BZ #10093]cvs/fedora-glibc-20090424T1908Ulrich Drepper1-2/+4
* iconv/gconv_simple.c (BODY for UTF-8 to INTERNAL): Don't accept UTF-16 surrogates.
2009-02-03[BZ #9793]Ulrich Drepper3-5/+72
2009-02-02 Ulrich Drepper <drepper@redhat.com> [BZ #9793] * iconv/gconv_trans.c (__gconv_transliterate): Don't change *OUTBUFSTART unless the whole output fit into the buffer. * iconv/Makefile (tests): Add tst-iconv4. * iconv/tst-iconv4.c: New file.
2009-01-02* posix/getconf.c: Update copyright year.Ulrich Drepper2-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.
2008-05-14[BZ #6461]Ulrich Drepper1-7/+11
* iconv/gconv_simple.c (BODY for __gconv_transform_ascii_internal): Add missing braces. (BODY for __gconv_transform_internal_ascii): Likewise.
2008-03-19Remove useless "if" before "free".Ulrich Drepper1-2/+1
2008-03-11[BZ #5903]cvs/fedora-glibc-20080314T1732Ulrich Drepper2-57/+68
2008-03-11 Ulrich Drepper <drepper@redhat.com> [BZ #5903] * iconv/iconv_charmap.c (charmap_conversion): Pass name of output file not stream for output file. Open output file here. * iconv/iconv_prog.c (process_lock): Take pointer to output stream and output file name. (process_fd): Likewise. (process_file): Likewise. (main): Adjust callers of changed functions. * iconv/iconv_prog.h: Adjust prototype.
2008-03-11(charmap_conversion): Pass name of output file not stream for output file. ↵Ulrich Drepper1-2/+14
Open output file here.
2008-01-09008-01-08 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper1-3/+18
* iconv/loop.c (UPDATE_PARAMS): Define to empty statement if not defined. (REINIT_PARAMS): Likewise. Undefine before end of file. (STANDARD_TO_LOOP_ERR_HANDLER): Use UPDATE_PARAMS before calling transliteration hooks and REINIT_PARAMS afterwards. * iconvdata/iso-2022-jp.c (BODY): Use a separate variable for status. (REINIT_PARAMS): Define. * iconvdata/ibm1364.c (REINIT_PARAMS): Likewise. * iconvdata/ibm930.c (REINIT_PARAMS): Likewise. * iconvdata/ibm933.c (REINIT_PARAMS): Likewise. * iconvdata/ibm935.c (REINIT_PARAMS): Likewise. * iconvdata/ibm937.c (REINIT_PARAMS): Likewise. * iconvdata/ibm939.c (REINIT_PARAMS): Likewise. * iconvdata/iso-2022-cn.c (REINIT_PARAMS): Likewise. * iconvdata/iso-2022-cn-ext.c (REINIT_PARAMS): Likewise. * iconvdata/iso-2022-jp-3.c (REINIT_PARAMS): Likewise. * iconvdata/iso-2022-kr.c (REINIT_PARAMS): Likewise. * iconvdata/Makefile: Add rules to build and run tst-iconv7.c. * iconvdata/tst-iconv7.c: New test.
2008-01-02* posix/getconf.c: Update copyright year.Ulrich Drepper2-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.
2007-11-08[BZ #5277]Ulrich Drepper1-1/+6
2007-11-07 Ulrich Drepper <drepper@redhat.com> [BZ #5277] * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): If conversion failed because output buffer is too small break, don't loop. * iconvdata/Makefile (tests): Add bug-iconv6. * iconvdata/bug-iconv6.c: New file.
2007-10-12* iconv/gconv_simple.c: Add some branch prediction.Ulrich Drepper1-9/+7