freebsd-skq/lib/libc/iconv
tijl de4e2206d5 MFC r267436-267439:
- Replace malloc+memset with calloc.
- iconv_open(3): initialise ci_ilseq_invalid field of _citrus_iconv_shared
  struct after allocation with malloc.
- iconvlist(3): reduce a memory leak by copying strings only once.
- iconv(1):
  - Make invalids variable local to do_conv such that it prints the number
    of invalid characters of the current file instead of an accumulated
    value.
  - Make do_conv return an error when invalid characters have been found.
    Return EXIT_FAILURE from main if any file contained invalid characters.
    This matches the behaviour of GNU iconv.
  - Mark usage with __dead2 attribute.
  - Make the long_options array const.

Tested by:	Pavel Timofeev <timp87@gmail.com>
2014-06-20 07:32:03 +00:00
..
__iconv_free_list.c MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
__iconv_get_list.3
__iconv_get_list.c MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
__iconv.c MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
_strtol.h
_strtoul.h
bsd_iconv.c MFC r267436-267439: 2014-06-20 07:32:03 +00:00
citrus_aliasname_local.h
citrus_bcs_strtol.c MFC r263986: 2014-04-15 09:49:44 +00:00
citrus_bcs_strtoul.c MFC r263986: 2014-04-15 09:49:44 +00:00
citrus_bcs.c
citrus_bcs.h
citrus_csmapper.c MFC r263986: 2014-04-15 09:49:44 +00:00
citrus_csmapper.h MFC r263986: 2014-04-15 09:49:44 +00:00
citrus_db_factory.c MFC r267436-267439: 2014-06-20 07:32:03 +00:00
citrus_db_factory.h
citrus_db_file.h
citrus_db_hash.c
citrus_db_hash.h
citrus_db.c
citrus_db.h
citrus_esdb_file.h
citrus_esdb.c
citrus_esdb.h
citrus_fix_grouping.h
citrus_hash.c
citrus_hash.h
citrus_iconv_local.h MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
citrus_iconv.c MFC r267436-267439: 2014-06-20 07:32:03 +00:00
citrus_iconv.h Replace the #define for "iconv" so it is for the function name instead of 2013-07-03 07:03:19 +00:00
citrus_lock.h Make it clear that there are three separate internal locks. 2013-07-03 18:35:21 +00:00
citrus_lookup_factory.c
citrus_lookup_factory.h
citrus_lookup_file.h
citrus_lookup.c MFC r263986: 2014-04-15 09:49:44 +00:00
citrus_lookup.h
citrus_mapper_local.h Let iconv build on -HEAD properly. 2013-05-23 18:07:01 +00:00
citrus_mapper.c MFC r263986: 2014-04-15 09:49:44 +00:00
citrus_mapper.h
citrus_memstream.c MFC r263986: 2014-04-15 09:49:44 +00:00
citrus_memstream.h
citrus_mmap.c MFC r263986: 2014-04-15 09:49:44 +00:00
citrus_mmap.h
citrus_module.c
citrus_module.h
citrus_namespace.h
citrus_none.c As a followup to r252547, propate const down the call stack. 2013-07-03 18:27:45 +00:00
citrus_none.h
citrus_pivot_factory.c
citrus_pivot_factory.h
citrus_pivot_file.h
citrus_prop.c MFC r263986: 2014-04-15 09:49:44 +00:00
citrus_prop.h MFC r263986: 2014-04-15 09:49:44 +00:00
citrus_region.h
citrus_stdenc_local.h As a followup to r252547, propate const down the call stack. 2013-07-03 18:27:45 +00:00
citrus_stdenc_template.h As a followup to r252547, propate const down the call stack. 2013-07-03 18:27:45 +00:00
citrus_stdenc.c MFC r263986: 2014-04-15 09:49:44 +00:00
citrus_stdenc.h As a followup to r252547, propate const down the call stack. 2013-07-03 18:27:45 +00:00
citrus_types.h
iconv_canonicalize.3
iconv_canonicalize.c MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
iconv_close.c MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
iconv_compat.c MFC r258283 - move iconv* symbols out of libc.so.7 namespace with 2013-11-20 20:24:59 +00:00
iconv_open_into.c MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
iconv_open.c MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
iconv_set_relocation_prefix.c MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
iconv-internal.h MFC r258283 - move iconv* symbols out of libc.so.7 namespace with 2013-11-20 20:24:59 +00:00
iconv.3
iconv.c MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
iconvctl.3 MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
iconvctl.c MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
iconvlist.3 Fix Fo arguments. 2012-03-28 19:20:28 +00:00
iconvlist.c MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
Makefile.inc MFC r258537, r258587: 2013-11-29 19:44:30 +00:00
Symbol.map MFC r258283 - move iconv* symbols out of libc.so.7 namespace with 2013-11-20 20:24:59 +00:00