X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=s5YXguQoEoeIwVqEQqkjr+uCXOHUe2Z7ATul63nYxBeAHDNdgeDE7
	Mkx4m1cccYCeY2RdJx0KNrvy+iov7RT4EYrvIZQRNmwCrxTur28WvjBEO4Gu7d1v
	HVKmzxfi8mZwkqIbozEUGagYJ3CO4fq1+pgavhCyK3gjqQLZrz3aAc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=7RX/UFOOobIGRsg91r1MBF4xWlA=; b=Jp0dGMhehuiMAs7XaufjeA1wCJ4v
	j+gb5p52ivbv/LNNx+TV1sTV8enfPO1Db8NEEunxV+UdWkT0A2U1O5P8gutmGZwX
	qu2pKQZps6z5YhKIiGVX1ChuvAD61fvBMHw+KzGtBfQwc6BP2th2d2HwFd/za/1/
	xZYFS4V66NXmVG0=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 7 Jul 2014 10:45:36 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Minires truncates host names
Message-ID: <20140707084536.GG1803@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <028c01cf9974$ad507120$07f15360$@alum.mit.edu> <53BA2FC0.D8E12808@boland.nl>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="avNtfD0ffNO6L/9g"
Content-Disposition: inline
In-Reply-To: <53BA2FC0.D8E12808@boland.nl>
User-Agent: Mutt/1.5.23 (2014-03-12)

--avNtfD0ffNO6L/9g
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jul  7 07:27, D. Boland wrote:
> Hi Pierre,
>=20
> "Pierre A. Humblet" wrote:
> >=20
> > You are right, there is a bug in res_querydomain,
> > Line 737 *(ptr++ - 1) =3D '.';   should be
> > *ptr++ =3D '.';
> >=20
> > 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);
> >=20
> > Unfortunately I am not setup to build Cygwin so I can't test the above =
nor
> > submit a proper patch.
>=20
> I downloaded the source code from your site:
>=20
> ftp://ftp.franken.de/pub/support/win32/develop/gnuwin32/cygwin/porters/Hu=
mblet_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

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

--avNtfD0ffNO6L/9g
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTul4wAAoJEPU2Bp2uRE+g/9cP/187Y55esJ8ZBCQFZw28kgAZ
+oBEBsoumvjnUs7EQbbMFMoLM0HHX5CLLrH1PxVaJTgBWCzYhh4ExMQMRpDSZNPI
AllyY3wiksRrrn/ixiDCOYQvg6FqJW+dBLQrIsMpGpIN9PpvQ0YAbg0SQGqS5iF0
wkUV4chSG9dRd/9cUY+0D0S2kDmvH8RP9maG5AsVdmz7S2eNFxMB8Ae2D10WI1XM
zcUaQlOIZPDy+AMqeawUIg+589il69ZmwRz5TU1cKRUX4Ec06ErrzkQLnA0o/9uQ
dork6Do5pm5/488ITjr9qNSHw9WUYNcLsbSf9YSPAAzsNpw3glxT1+YCfe7f8g3h
cGVX9+tf80jBVI6aNBSLbZJF82oWECm68huonxCUoFmwNGky+gGzr0sh5k9nTDYX
ouVQH9Sh2Uju2TGY52ksvBndBsbBKSqKsRe2T9CX0cALo/mm/R6jOPs4aDAoWUp9
YyVZIG9QKEAR57iaE5BQKppoxfqBX7QJLCz1gQz62CcHFK9N/L5GiwKwvNxqxMl2
B+P2M5vqMFov1xw9cO5WIID8i2Za8s9U1TSPmrQc7bwekNcGclrYsClcyRR4JSjZ
uQhW6bzhMLiPG2CTABXGUExWqm6ULvbN/Umnu7IivlBaj1ZxugEC8OyI2N8UjQJl
f1XeusKDpu9qQ5/XsyS4
=Pmre
-----END PGP SIGNATURE-----

--avNtfD0ffNO6L/9g--
