summaryrefslogtreecommitdiff
path: root/libcli/auth/credentials.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-29 18:22:18 +0200
committerVolker Lendecke <vlendec@samba.org>2011-03-29 19:17:41 +0200
commit1e50f9a5c263ed19ef8e9c689c96f1e51194f405 (patch)
treec570cbc6f0bf594709b36ca006ed0f65905d7905 /libcli/auth/credentials.h
parent52ff0dde37d2333b21f4e81e2c125c45a88a2eea (diff)
downloadsamba-1e50f9a5c263ed19ef8e9c689c96f1e51194f405.tar.gz
samba-1e50f9a5c263ed19ef8e9c689c96f1e51194f405.tar.bz2
samba-1e50f9a5c263ed19ef8e9c689c96f1e51194f405.zip
charconv: Fix the slow-path character conversions
This reverts a part of 0189087e257f. That one might have fixed the fast path, but it broke the slow path. convert_string_internal returns 0/-1 despite the size_t result type and the misleading comment. If you follow the path to smb_iconv and for example iconv_copy(), you will see that this routine returns 0 even after it copied something. How to check: Use German locale, and do an smbclient "allinfo" on a file modified in march (März in German). Notice the "ä". Before 0189087 this printed correctly, after 0189087 it cut off the fields after the M for März. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Mar 29 19:17:41 CEST 2011 on sn-devel-104
Diffstat (limited to 'libcli/auth/credentials.h')
0 files changed, 0 insertions, 0 deletions