tchar fixes: _tcs{dup,icmp}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That's what I have to do on my system. 

Francois, does this seem OK to you? If the fix is right,
what about the other _str* symbols?

ChangeLog
  Fix definitions of _tcs{dup,icmp}.

Index: include/tchar.h
===================================================================
RCS file: /var/cvs/wine/include/tchar.h,v
retrieving revision 1.18
diff -u -r1.18 tchar.h
--- include/tchar.h	31 May 2002 23:06:49 -0000	1.18
+++ include/tchar.h	20 Dec 2002 14:12:19 -0000
@@ -109,9 +109,9 @@
 #define _tcscpy       WINE_tchar_routine(strcpy,          _mbscpy,     wcscpy)
 #define _tcscspn      WINE_tchar_routine(strcspn,         _mbscspn,    wcscspn)
 #define _tcsdec       WINE_tchar_routine(_strdec,         _mbsdec,     _wcsdec)
-#define _tcsdup       WINE_tchar_routine(_strdup,         _mbsdup,     _wcsdup)
+#define _tcsdup       WINE_tchar_routine(strdup,          _mbsdup,     _wcsdup)
 #define _tcsftime     WINE_tchar_routine(strftime,        strftime,    wcsftime)
-#define _tcsicmp      WINE_tchar_routine(_stricmp,        _mbsicmp,    _wcsicmp)
+#define _tcsicmp      WINE_tchar_routine(strcasecmp,      _mbsicmp,    _wcsicmp)
 #define _tcsicoll     WINE_tchar_routine(_stricoll,       _stricoll,   _wcsicoll)
 #define _tcsinc       WINE_tchar_routine(_strinc,         _mbsinc,     _wcsinc)
 #define _tcslen       WINE_tchar_routine(strlen,          strlen,      wcslen)


-- 
Dimi.



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux