diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-04-11 21:34:21 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-04-13 14:47:08 +1000 |
commit | 93463829afaa4768183b62f20146ef903da8cf8b (patch) | |
tree | 1e5445fc89213c480fd3ab2fe35862561782faaa /m4 | |
parent | 1efa6001441413c29e4b85c1222a84aff7e00ae8 (diff) | |
download | samba-93463829afaa4768183b62f20146ef903da8cf8b.tar.gz samba-93463829afaa4768183b62f20146ef903da8cf8b.tar.bz2 samba-93463829afaa4768183b62f20146ef903da8cf8b.zip |
lib/util/charset Preserve 'pull' errors even when converting via UTF16
When we do not have a direct iconv handle between any two charsets, we
must go iva UTF16. However, we should still return the same buffer
and error code as if we were able to go direct - including the partial
conversion and the error code.
This is important for locating the invalid multibyte character in the
stream, for example.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions