This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Minires truncates host names


On Jul  7 07:27, D. Boland wrote:
> Hi Pierre,
> 
> "Pierre A. Humblet" wrote:
> > 
> > You are right, there is a bug in res_querydomain,
> > Line 737 *(ptr++ - 1) = '.';   should be
> > *ptr++ = '.';
> > 
> > I would also add a debug printf at the top of the function:
> > DPRINTF(statp->options & RES_DEBUG, "querydomain \"%s\"  \"%s\" type %d\n",
> > Name, DomName, Type);
> > 
> > Unfortunately I am not setup to build Cygwin so I can't test the above nor
> > submit a proper patch.
> 
> I downloaded the source code from your site:
> 
> ftp://ftp.franken.de/pub/support/win32/develop/gnuwin32/cygwin/porters/Humblet_Pierre_A/V1.5/minires-0.97-src.tar.gz

You're in the wrong spot.  The minres code has been folded into the
Cygwin DLL years ago, with the switch from Cygwin 1.5 to 1.7.  There's
no external resolver lib in the Cygwin distro anymore since then.  The
Minires package is only provided by the 32 bit distro for backward
compatibility with very old packages.  Don't try to link against this
DLL at all for new packages:  -lresolv will link your resolver calls
to the Cygwin DLL's resolver calls.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpNZOGI86I3C.pgp
Description: PGP signature


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