Linuxism in dlls/msvcrt/msvcrt.spec?

Gerald Pfeifer pfeifer at
Mon Mar 18 10:30:43 CST 2002

I believe there is a Linuxism in dlls/msvcrt/msvcrt.spec which expects
that _tolower and _toupper exist as functions.

The following patch by Martin Faxér <gmh003532 at> addresses
this; if this patch seems unacceptable, we'd appreciate a note and a short
explanation why the current code is fine and the patch is not fine.


Index: msvcrt.spec
RCS file: /home/wine/wine/dlls/msvcrt/msvcrt.spec,v
retrieving revision 1.32
diff -u -r1.32 msvcrt.spec
--- msvcrt.spec	2002/03/11 05:03:05	1.32
+++ msvcrt.spec	2002/03/11 15:43:09
@@ -476,8 +476,8 @@
 @ stub _telli64 #(long)
 @ cdecl _tempnam(str str) _tempnam
 @ stub _timezone #()
-@ cdecl _tolower(long) _tolower
-@ cdecl _toupper(long) _toupper
+@ cdecl _tolower(long) tolower
+@ cdecl _toupper(long) toupper
 @ stub _tzname
 @ cdecl _tzset() tzset
 @ stub _ui64toa #(long str long)

More information about the wine-patches mailing list