[Patch] SIOCGIFCONF Win95

Robert Collins robert.collins@itdomain.com.au
Thu Sep 27 02:24:00 GMT 2001


----- Original Message -----
From: "Alexander Gottwald"
<alexander.gottwald@informatik.tu-chemnitz.de>
To: <cygwin@cygwin.com>
Cc: <cygwin-xfree@sources.redhat.com>
Sent: Thursday, September 27, 2001 7:15 PM
Subject: [Patch] SIOCGIFCONF Win95


> Hi,
>
> On Win95, the implementation of SIOCGIFCONF seems to be wrong. For
Win95a
> it seems to work, but Win95b and Win95c will onyl return the loopback
> device. Searching through the code, I found the reason in
winsup/cygwin/net.c
...
>
> I modified the function in net.c and the correct number of interfaces
is
> reported for win95a and win95c.
>
> I attached the patch. A patch cygwin1.dll is available at
> < http://www.tu-chemnitz.de/~goal/xfree/cygwin1.fixed-netdev.dll.bz2 >
>

Great work Alex,
You might like to cc cygwin-patches for any future stuff that turns up
:}.

The patch looks good to me and it's great for such a long standing bug
to be caught and fixed.

Rob



More information about the Cygwin-patches mailing list