mirror_zfs/lib/libnvpair
Ryan Moeller 1f8e5b6cb8
Fix error check in nvlist_print_json_string
Move check for errors from mbrtowc() into the loop.  The error values
are not actually negative, so we don't break out of the loop when they
are encountered.

Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #12175
Closes #12176
2021-06-04 13:53:44 -06:00
..
libnvpair_json.c Fix error check in nvlist_print_json_string 2021-06-04 13:53:44 -06:00
libnvpair.abi libspl: staticify buf and pagesize, rename aok to libspl_assert_ok 2021-06-03 11:04:13 -06:00
libnvpair.c Update build system and packaging 2018-05-29 16:00:33 -07:00
libnvpair.suppr Library ABI tracking with abigail 2020-11-17 09:18:52 -08:00
Makefile.am cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
nvpair_alloc_system.c Add support for libtirpc 2016-04-28 09:27:40 -07:00