diff options
author | Jeremy Allison <jra@samba.org> | 2000-03-22 20:39:31 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-03-22 20:39:31 +0000 |
commit | 90134dd13721f60d4fb05ce9434b65e95ff09629 (patch) | |
tree | adbca91526ab0caa0ea0fdf075483b9b2d1b539e /source/lib/util_unistr.c | |
parent | f02999dbf7971b4ea05050d7206205d7737a78b2 (diff) | |
download | samba-90134dd13721f60d4fb05ce9434b65e95ff09629.tar.gz samba-90134dd13721f60d4fb05ce9434b65e95ff09629.tar.xz samba-90134dd13721f60d4fb05ce9434b65e95ff09629.zip |
Correctly convert from little-endian UNICODE to dos_codepage when doing
secure file create.
Jeremy.
Diffstat (limited to 'source/lib/util_unistr.c')
-rw-r--r-- | source/lib/util_unistr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/lib/util_unistr.c b/source/lib/util_unistr.c index c981aba51a1..27bd615bf40 100644 --- a/source/lib/util_unistr.c +++ b/source/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). ********************************************************************/ |