This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: [Patch] SIOCGIFCONF Win95
- To: "Alexander Gottwald" <alexander dot gottwald at informatik dot tu-chemnitz dot de>
- Subject: Re: [Patch] SIOCGIFCONF Win95
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Thu, 27 Sep 2001 19:25:31 +1000
- Cc: <cygwin-xfree at sources dot redhat dot com>,<cygwin-patches at cygwin dot com>
- References: <Pine.LNX.4.21.0109271045270.23288-200000@rotuma.informatik.tu-chemnitz.de>
----- 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