msvcmaker: Identify comm.drv as a 16bit dll

Francois Gouget fgouget at free.fr
Tue Oct 5 08:07:22 CDT 2004


I was getting:
$ ./tools/winapi/msvcmaker
Use of uninitialized value in pattern match (m//) at tools/winapi/msvcmaker line 1045.
Use of uninitialized value in pattern match (m//) at tools/winapi/msvcmaker line 1045.
...

Further investigation showed that this was because msvcmaker was 
treating comm.drv as a 32bit dll which seems wrong. Probably it's been 
renamed from comm.dll to comm.drv and this is what's causing the 
problem.


Changelog:

  * tools/winapi/msvcmaker

    Identify comm.drv as a 16bit dll.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
  "Only wimps use tape backup: _real_ men just upload their important stuff on
        ftp, and let the rest of the world mirror it ;)" -- Linus Torvalds
-------------- next part --------------
Index: tools/winapi/msvcmaker
===================================================================
RCS file: /var/cvs/wine/tools/winapi/msvcmaker,v
retrieving revision 1.28
diff -u -r1.28 msvcmaker
--- tools/winapi/msvcmaker	4 Oct 2004 19:14:49 -0000	1.28
+++ tools/winapi/msvcmaker	5 Oct 2004 12:25:09 -0000
@@ -76,7 +70,7 @@
     close(IN);
 
     # FIXME: Kludge
-    if($module =~ /^(?:comm|imm|ole2conv|ole2prox|ole2thk|rasapi16|windebug)\.dll$/) {
+    if($module =~ /^(?:(?:imm|ole2conv|ole2prox|ole2thk|rasapi16|windebug)\.dll|comm\.drv)$/) {
 	$type = "win16";
     }
 


More information about the wine-patches mailing list