about summary refs log tree commit diff
path: root/iconv
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typos.Ondřej Bílka2013-08-213-4/+4
|
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-163-0/+4
|
* Use *stat64 instead of *stat in installed programsFlorian Weimer2013-05-102-4/+4
| | | | | This ensures reliable operation on file systems with inode numbers which do not fit into 32 bits.
* BZ#14812: Add missing translation marker on some argp option argument names ↵Roland McGrath2013-03-182-5/+6
| | | | in utilities.
* unify xmalloc prototypes & friendsMike Frysinger2013-02-183-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>
* Sort Versions filesAndreas Jaeger2013-02-171-2/+2
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0229-31/+29
|
* Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2013-01-011-2/+1
|
* 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.
* iconv: Fix -cAndrej Lajovic2012-11-161-2/+2
| | | | | | | 2012-11-16 Andrej Lajovic <natrij@gmail.com> [BZ #14672] * iconv/iconv_prog.c (main): Fix -c handling of '/'.
* Support --with-pkgversion and --with-bugurl.Joseph Myers2012-11-092-6/+12
|
* Define and use $(run-built-tests).Joseph Myers2012-10-241-1/+1
|
* Update copyright yearsH.J. Lu2012-09-101-2/+1
|
* Check if deriv->steps is NULL before freeing itH.J. Lu2012-09-071-3/+6
|
* Fix lots of bitrot for stub configurations.Roland McGrath2012-07-301-2/+2
|
* Remove distribute variable from MakefilesUlrich Drepper2012-03-071-4/+0
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0930-85/+55
|
* Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper2012-01-083-8/+14
| | | | | Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
* Simplify char16_t implementationUlrich Drepper2012-01-084-414/+4
|
* Remove pre-ISO C supportUlrich Drepper2012-01-076-60/+60
| | | | No more __const.
* Remove non-ELF supportUlrich Drepper2012-01-071-7/+2
|
* More char16_t and char32_t supportUlrich Drepper2012-01-074-32/+350
| | | | It works now for UTF-8 locales
* Fix assertion in gconv's loop.cUlrich Drepper2012-01-031-2/+3
|
* Add uchar.h support, part 1Ulrich Drepper2012-01-013-5/+97
| | | | c16 support for locales other than the C locale is still missing.
* Update copyright yearUlrich Drepper2012-01-012-4/+4
|
* Store invocation-specific data of conversion modules in __gconv_step_dataUlrich Drepper2011-12-211-2/+3
|
* Clean up internal fopen usesUlrich Drepper2011-11-151-1/+1
| | | | No need to ever not use c and e.
* Cleanup of configuration optionsUlrich Drepper2011-09-101-5/+3
| | | | Make several tool features mandatory and simplify the code.
* Optimize conversion of single character in gconvUlrich Drepper2011-05-141-1/+2
|
* Fix handling of incomplete character storage in stateUlrich Drepper2011-05-141-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.
* Fix typos in comments.Ulrich Drepper2011-04-011-3/+3
|
* Update copyright year.Ulrich Drepper2011-01-172-4/+4
|
* Update copyright year.Ulrich Drepper2010-03-152-19/+19
|
* Fix error checking in iconv.Andreas Schwab2010-01-251-1/+1
|
* [BZ #10093] cvs/fedora-glibc-20090424T1908Ulrich Drepper2009-04-241-2/+4
| | | | | * iconv/gconv_simple.c (BODY for UTF-8 to INTERNAL): Don't accept UTF-16 surrogates.
* [BZ #9793]Ulrich Drepper2009-02-033-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.
* * 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.
* [BZ #6461]Ulrich Drepper2008-05-141-7/+11
| | | | | | * iconv/gconv_simple.c (BODY for __gconv_transform_ascii_internal): Add missing braces. (BODY for __gconv_transform_internal_ascii): Likewise.
* Remove useless "if" before "free".Ulrich Drepper2008-03-191-2/+1
|
* [BZ #5903] cvs/fedora-glibc-20080314T1732Ulrich Drepper2008-03-112-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.
* (charmap_conversion): Pass name of output file not stream for output file. ↵Ulrich Drepper2008-03-111-2/+14
| | | | Open output file here.
* 008-01-08 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper2008-01-091-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.
* * 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.
* [BZ #5277]Ulrich Drepper2007-11-081-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.
* * iconv/gconv_simple.c: Add some branch prediction.Ulrich Drepper2007-10-121-9/+7
|
* [BZ #5043]Ulrich Drepper2007-09-231-13/+36
| | | | | | 2007-09-23 Ulrich Drepper <drepper@redhat.com> [BZ #5043] * iconv/iconv_open.c (iconv_open): For large codeset names use malloc.
* [BZ #4896, BZ #4936]Ulrich Drepper2007-08-211-6/+14
| | | | | | | | | | | 2007-08-21 Ulrich Drepper <drepper@redhat.com> [BZ #4936] * iconv/gconv.c (__gconv): If flush was successful, clear rest of the state. * iconvdata/Makefile: Add rules to build and run bug-iconv5. * iconvdata/bug-iconv5.c: New file. [BZ #4896]
* * nscd/selinux.c (preserve_capabilities): Initialize new_capsUlrich Drepper2007-07-281-2/+2
| | | | | | | | | | to avoid warning. * iconv/gconv_open.c (__gconv_open): Initialize ptr to avoid warning. * nis/nis_subr.c (nis_getnames): Initialize saveptr to avoid warning. * resolv/inet_ntop.c (inet_ntop6): Initialize best.len and cur.len to avoid warnings.
* * iconv/gconv_int.h (__GCONV_NULCONV): New internal only error code.Ulrich Drepper2007-07-284-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * iconv/gconv_cache.c (__gconv_lookup_cache): Return __GCONV_NULCONV if from and to charsets are the same. * iconv/gconv_db.c (__gconv_find_transform): Likewise. * intl/dcigettext.c (_nl_find_msg): Return NULL even if __gconv_open returns __GCONV_NOCONV, but not for __GCONV_NULCONV. 2007-07-17 Jakub Jelinek <jakub@redhat.com> * wcsmbs/wchar.h: Only define wint_t if __need_wint_t. Don't define wint_t when __need_mbstate_t unless it is necessary. (__mbstate_t): Use __WINT_TYPE__ rather than wint_t in the typedef if possible. * wctype/wctype.h (wint_t): Define by including wchar.h with __need_wint_t instead of including stddef.h with __need_wint_t and as fallback definining it ourselves. * iconv/gconv.h (__need_wint_t): Define before including wchar.h. * sysdeps/gnu/_G_config.h: Don't include gconv.h if not _LIBC or _GLIBCPP_USE_WCHAR_T. (__need_wchar_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. (__need_wint_t): Don't define before including stddef.h, define before including wchar.h only if _LIBC or _GLIBCPP_USE_WCHAR_T. (_G_iconv_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. * sysdeps/mach/hurd/_G_config.h: Likewise. * sysdeps/generic/_G_config.h: Likewise. * libio/libio.h (__wunderflow, __wuflow, __woverflow): Only prototype if _LIBC or _GLIBCPP_USE_WCHAR_T. (_IO_getwc_unlocked, _IO_putwc_unlocked): Only define if _LIBC or _GLIBCPP_USE_WCHAR_T.
* copyright updateRoland McGrath2007-07-251-1/+2
|