diff options
author | Jeremy Allison <jra@samba.org> | 2005-05-25 00:51:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:59 -0500 |
commit | 0419e24287d09a71735d94ea019a7f17842201d3 (patch) | |
tree | 5ddc9032384acf93764232a0f144aeffd2b4a38e /source3/lib | |
parent | efaafdd27b931696afb3f9f53eefe7d559f2c05a (diff) | |
download | samba-0419e24287d09a71735d94ea019a7f17842201d3.tar.gz samba-0419e24287d09a71735d94ea019a7f17842201d3.tar.bz2 samba-0419e24287d09a71735d94ea019a7f17842201d3.zip |
r6965: Remove some dead code from util_unistr.c.
Start of fix for #2735 - we are not mangling some
names we should. More fixes to follow.
Jeremy.
(This used to be commit ac0fa973774c36b72863aea369e9d243cf7420fa)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_unistr.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c index 0b4552e1f5..89639423bb 100644 --- a/source3/lib/util_unistr.c +++ b/source3/lib/util_unistr.c @@ -255,22 +255,6 @@ int rpcstr_push(void* dest, const char *src, int dest_len, int flags) } /******************************************************************* - 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). -********************************************************************/ -char *dos_unistrn2(const uint16 *src, int len) -{ - static char lbufs[8][MAXUNI]; - static int nexti; - char *lbuf = lbufs[nexti]; - nexti = (nexti+1)%8; - pull_ucs2(NULL, lbuf, src, MAXUNI-3, len*2, STR_NOALIGN); - return lbuf; -} - -/******************************************************************* Convert a (little-endian) UNISTR2 structure to an ASCII string ********************************************************************/ void unistr2_to_ascii(char *dest, const UNISTR2 *str, size_t maxlen) |