freebsd-nq/lib/libc/iconv
Pedro F. Giffuni 2b61d29172 iconv: Fix a pointer mismatch.
Catch NULL pointer earlier, check for empty string later.
Apparently this fixes a GCC8 warning.

Obtained from:	NetBSD (CVS Rev. 1.21, 1.22) through DragonFlyBSD
MFC after:	1 week
2017-11-20 20:05:30 +00:00
..
__iconv_free_list.c
__iconv_get_list.3 __iconv_get_list: separate .Nm entries with commas 2017-05-23 07:02:01 +00:00
__iconv_get_list.c
__iconv.c Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
_strtol.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
_strtoul.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
bsd_iconv.c iconvctl(3): remove superfluous NULL pointer tests 2016-05-14 00:35:35 +00:00
citrus_aliasname_local.h
citrus_bcs_strtol.c
citrus_bcs_strtoul.c
citrus_bcs.c
citrus_bcs.h
citrus_csmapper.c
citrus_csmapper.h
citrus_db_factory.c
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 libc: provide some bounds-checking through reallocarray(3). 2017-03-12 16:03:34 +00:00
citrus_esdb.h
citrus_fix_grouping.h
citrus_hash.c
citrus_hash.h
citrus_iconv_local.h Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
citrus_iconv.c Avoid lookup of CODESET aliases using uninitialized path 2015-02-28 20:30:25 +00:00
citrus_iconv.h Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
citrus_lock.h
citrus_lookup_factory.c
citrus_lookup_factory.h
citrus_lookup_file.h
citrus_lookup.c
citrus_lookup.h
citrus_mapper_local.h
citrus_mapper.c
citrus_mapper.h
citrus_memstream.c
citrus_memstream.h
citrus_mmap.c libc: Use namespace.h in a few more files. 2015-12-20 23:05:20 +00:00
citrus_mmap.h
citrus_module.c
citrus_module.h
citrus_namespace.h
citrus_none.c iconv: Fix a pointer mismatch. 2017-11-20 20:05:30 +00:00
citrus_none.h
citrus_pivot_factory.c
citrus_pivot_factory.h
citrus_pivot_file.h
citrus_prop.c Fix improbable memory leak in _citrus_prop_read_str(). 2015-04-20 22:09:50 +00:00
citrus_prop.h
citrus_region.h
citrus_stdenc_local.h Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
citrus_stdenc_template.h Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
citrus_stdenc.c
citrus_stdenc.h Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
citrus_types.h
iconv_canonicalize.3 use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
iconv_canonicalize.c
iconv_close.c
iconv_compat.c Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
iconv_open_into.c
iconv_open.c
iconv_set_relocation_prefix.c
iconv-internal.h libc: spelling fixes. 2016-04-30 01:24:24 +00:00
iconv.3 Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
iconv.c Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
iconvctl.3 use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
iconvctl.c
iconvlist.3 mdoc: improvements to SEE ALSO. 2014-12-27 08:31:52 +00:00
iconvlist.c
Makefile.inc Replace dot-dot relative pathing with SRCTOP-relative paths where possible 2017-01-20 03:23:24 +00:00
Symbol.map