Commit in reactos/lib/unicode on MAIN
string.c+91.1 -> 1.2
wine_unicode.def+2-11.3 -> 1.4
winehq2ros.patch+6-51.1 -> 1.2
+17-6
3 modified files
Sync to Wine-20040408:
Alexandre Julliard:
- Added memicmpW.

reactos/lib/unicode
string.c 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- string.c	2 Jan 2004 19:49:46 -0000	1.1
+++ string.c	16 Apr 2004 08:58:34 -0000	1.2
@@ -36,6 +36,7 @@
 #undef strcmpiW
 #undef strncmpiW
 #undef sprintfW
+#undef snprintfW
 
 int strcmpiW( const WCHAR *str1, const WCHAR *str2 )
 {
@@ -56,6 +57,14 @@
     return ret;
 }
 
+int memicmpW( const WCHAR *str1, const WCHAR *str2, int n )
+{
+    int ret = 0;
+    for ( ; n > 0; n--, str1++, str2++)
+        if ((ret = tolowerW(*str1) - tolowerW(*str2))) break;
+    return ret;
+}
+
 WCHAR *strstrW( const WCHAR *str, const WCHAR *sub )
 {
     while (*str)

reactos/lib/unicode
wine_unicode.def 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- wine_unicode.def	15 Apr 2004 18:52:45 -0000	1.3
+++ wine_unicode.def	16 Apr 2004 08:58:34 -0000	1.4
@@ -1,7 +1,8 @@
 LIBRARY libwine_unicode.dll
 
 EXPORTS
-    snprintfW=_snwprintf
+    memicmpW
+    snprintfW
     sprintfW
     strcmpiW
     strncmpiW

reactos/lib/unicode
winehq2ros.patch 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- winehq2ros.patch	2 Jan 2004 19:49:46 -0000	1.1
+++ winehq2ros.patch	16 Apr 2004 08:58:34 -0000	1.2
@@ -1,11 +1,11 @@
 Index: string.c
 ===================================================================
 RCS file: /home/wine/wine/libs/unicode/string.c,v
-retrieving revision 1.4
-diff -u -r1.4 string.c
---- string.c	22 Nov 2003 00:00:53 -0000	1.4
-+++ string.c	2 Jan 2004 19:09:14 -0000
-@@ -23,6 +23,20 @@
+retrieving revision 1.5
+diff -u -r1.5 string.c
+--- string.c	2 Apr 2004 19:40:31 -0000	1.5
++++ string.c	16 Apr 2004 09:07:08 -0000
+@@ -23,6 +23,21 @@
  
  #include "wine/unicode.h"
  
@@ -22,6 +22,7 @@
 +#undef strcmpiW
 +#undef strncmpiW
 +#undef sprintfW
++#undef snprintfW
 +
  int strcmpiW( const WCHAR *str1, const WCHAR *str2 )
  {
CVSspam 0.2.8