This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Patch] SIOCGIFCONF Win95


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]