[Bug 1572] New: Malformed else and use of obsolete ifreq structure/union in ifenum.c

Wine Bugs wine-bugs at winehq.com
Thu Jul 3 21:55:07 CDT 2003


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

           Summary: Malformed else and use of obsolete ifreq structure/union
                    in ifenum.c
           Product: Wine
           Version: 20030618
          Platform: PC
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-binary
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: Alan.Hargreaves at Sun.COM


Looking through the code, the brace on line 666 should move up to before the
else clause.

Solaris since at least Solaris 8 (I have not checked earlier) has obsoleted use
of the ifreq structure. The new structure is lifreq (defined in
/usr/include/net/if.h). The major problem of using the ifreq structure is that
the ifr_mtu union element is not defined. While possible to kludge your way
around this, we should be using the lifreq union. The other option, which I will
also do is to log a bug within Sun to get the ifr_mtu union element into the
obsolete ifreq union (I don't like the chances of getting this done for Solaris
10, let alone backported to anything earlier).

-- 
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