[Bug 1590] New: comm driver config problem

Wine Bugs wine-bugs at winehq.com
Sat Jul 12 09:43:58 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1590

           Summary: comm driver config problem
           Product: Wine
           Version: 20030618
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P2
         Component: wine-kernel
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: f.gockel at t-online.de


There is a typo in file dlls/kernel/comm.c. It makes the configuration program 
for the Fritz!X isdn adaptor - and maybe other programs too - fail setting up 
the serial port.

This diff fixes it.

--- dlls/kernel/comm.c.orig	2003-07-12 15:38:22.000000000 +0200
+++ dlls/kernel/comm.c	2003-07-12 15:38:43.000000000 +0200
@@ -1927,8 +1927,10 @@
         return FALSE;
 
     r = *lpdwSize < sizeof(COMMCONFIG);
+    TRACE("DEREF_lpdwSize=0x%x sizeof_COMMCONFIG=0x%x r=0x%x\n",
+          *lpdwSize,sizeof(COMMCONFIG),r);
     *lpdwSize = sizeof(COMMCONFIG);
-    if(!r)
+    if(r)
         return FALSE;
 
     lpCommConfig->dwSize = sizeof(COMMCONFIG);

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list