From 6814d0f45689d2a17af3d95511208421d10f5fce Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 22 Mar 2000 20:39:31 +0000 Subject: Correctly convert from little-endian UNICODE to dos_codepage when doing secure file create. Jeremy. (This used to be commit 90134dd13721f60d4fb05ce9434b65e95ff09629) --- source3/lib/util_unistr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/lib/util_unistr.c') diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c index c981aba51a..27bd615bf4 100644 --- a/source3/lib/util_unistr.c +++ b/source3/lib/util_unistr.c @@ -149,6 +149,8 @@ char *skip_unicode_string(char *buf,int n) /******************************************************************* Return a DOS codepage version of a little-endian unicode string. + len is the filename length (ignoring any terminating zero) in uin16 + units. Always null terminates. Hack alert: uses fixed buffer(s). ********************************************************************/ -- cgit