minires-0.95 - a new package ready for review

Pierre A. Humblet Pierre.Humblet@ieee.org
Fri Jun 13 17:52:00 GMT 2003


Igor Pechtchanski wrote:
> 
> On Fri, 13 Jun 2003, Corinna Vinschen wrote:
> 
> > On Thu, Jun 12, 2003 at 01:20:21PM -0400, Pierre A. Humblet wrote:
> > [snip]
> > > I have recently noticed that the information is in fact available
> > > from the registry, but getting to it is not straightforward
> > > (same kind of indirect lookups as in net.cc), so with some effort...
> >
> > I had the funny idea to drop the whole Windows specific part and
> > instead create /etc/resolve.conf in the postinstall script from
> > the output of `ipconfig /all'.  That would work nicely on NT,
> > unfortunately the `ipconfig /all' output on 9x doesn't contain the
> > DNS domain search list. :-(
> >
> > Corinna
> 
> Corinna,
> 
> Sure it does, at least on Win98 (just checked).  However, instead of there
> being one DNS list per adapter, as on NT/2k, there's one global list,
> printed in the beginning.  Try piping the output of "ipconfig /all" to
> less.
>         Igor

IMO, having the nameservers in resolv.conf is obsolete. In many 
environments they can change quite rapidly. 
The resolv.conf can get stale in a sneaky way, with only some 
servers being active. That causes delays in the lookups.

Elfyn wrote:
> If it's decided to move minires into winsup or newlib, I'm happy 
> to help. :-)

So am I. We should make a list of things to do. 
I will use LoadLibrary and look more into using the registry
on Win95 and NT.

Is there a prefered source for the system header files? 
Currently they come from bind 9.2.1. For some reason the 
function names are redefined to add an initial "_".
This causes some configure scripts (those omitting to
include the headers) to make incorrect conclusions.

Pierre



More information about the Cygwin-apps mailing list