svn commit: samba r2644 - in branches/SAMBA_4_0/source/lib: .
tridge at samba.org
tridge at samba.org
Sun Sep 26 02:14:26 GMT 2004
Author: tridge
Date: 2004-09-26 02:14:25 +0000 (Sun, 26 Sep 2004)
New Revision: 2644
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/lib&rev=2644&nolog=1
Log:
removed an unused function
Modified:
branches/SAMBA_4_0/source/lib/util_unistr.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/util_unistr.c
===================================================================
--- branches/SAMBA_4_0/source/lib/util_unistr.c 2004-09-26 01:43:05 UTC (rev 2643)
+++ branches/SAMBA_4_0/source/lib/util_unistr.c 2004-09-26 02:14:25 UTC (rev 2644)
@@ -86,26 +86,9 @@
}
}
-/*
- see if a ucs2 character can be mapped correctly to a dos character
- and mapped back to the same character in ucs2
-*/
-static int check_dos_char(smb_ucs2_t c)
-{
- char buf[10];
- smb_ucs2_t c2 = 0;
- int len1, len2;
- len1 = convert_string(CH_UTF16, CH_DOS, &c, 2, buf, sizeof(buf));
- if (len1 == 0) return 0;
- len2 = convert_string(CH_DOS, CH_UTF16, buf, len1, &c2, 2);
- if (len2 != 2) return 0;
- return (c == c2);
-}
-
/*******************************************************************
Convert a wchar to upper case.
********************************************************************/
-
smb_ucs2_t toupper_w(smb_ucs2_t val)
{
return upcase_table[SVAL(&val,0)];
@@ -114,7 +97,6 @@
/*******************************************************************
Convert a wchar to lower case.
********************************************************************/
-
static smb_ucs2_t tolower_w( smb_ucs2_t val )
{
return lowcase_table[SVAL(&val,0)];
More information about the samba-cvs
mailing list