delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/11/28/11:55:33

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Wed, 28 Nov 2001 17:48:09 +0100
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
X-Mailer: The Bat! (v1.53t) Business
Reply-To: "Gerrit P. Haase" <cygwin-apps AT cygwin DOT com>
Organization: convey Information Systems GmbH
X-Priority: 3 (Normal)
Message-ID: <1159591842.20011128174809@familiehaase.de>
To: cygwin-apps AT cygwin DOT com
Subject: Re: libresolv and resolv.h
In-Reply-To: <3C04CF87.FA8519A7@lapo.it>
References: <3C04CF87 DOT FA8519A7 AT lapo DOT it>
MIME-Version: 1.0

Hallo Lapo,

2001-11-28 17:41:45, du schriebst:

>   in trying to port new rsync-2.4.7 (preview 4) I discovered that CygWin
> doesn't contain a pre-compiled libresolv, I did some search on the
> mailing list and discovered that can be compiled OOTB from some bind
> version (that is neither 9.2.0 or 8.2.5)... but I was thinking:
> a) of course "everyone can compile it, as it's easy", but couln'd a
> precompiled package be more useful?

The problem with bind is that the resolver library doesn't work correct,
I have problems using it for an Exim port, i.e. the service lookup in
/etc/services doesn't work so it wouldn't help much to have it.
I have also problems using nslookup, maybe it is the same cause.

> b) is really needed to build a resolver when the underlying winsock
> already do that? couln't a "stub" libresolv be easier and smaller to do?

That is the point, winsock is there and needs only to be accessed.
What we need is a wrapper around winsock.  So the unix apps can call
their res_query or whatever from libresolv which is in fact winsock.

Gerrit
-- 
convey Information Systems GmbH                   http://www.convey.de/
                                                  Vitalisstraße 326-328
Gerrit P. Haase                                   D-50933 Köln
gerrit DOT haase AT convey DOT de                            Fon: ++49 221 6903922

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019