From owner-freebsd-questions Thu Aug 2 4:12:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f74.law10.hotmail.com [64.4.15.74]) by hub.freebsd.org (Postfix) with ESMTP id 6B2C037B401 for ; Thu, 2 Aug 2001 04:12:13 -0700 (PDT) (envelope-from vladokorcek@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 2 Aug 2001 04:12:13 -0700 Received: from 194.138.158.162 by lw10fd.law10.hotmail.msn.com with HTTP; Thu, 02 Aug 2001 11:12:13 GMT X-Originating-IP: [194.138.158.162] From: "Vlado Korcek" To: freebsd-questions@FreeBSD.ORG Subject: Duplicated code ?! Date: Thu, 02 Aug 2001 11:12:13 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 02 Aug 2001 11:12:13.0243 (UTC) FILETIME=[FB16F8B0:01C11B43] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Folks, I have a question. I use "/usr/src/lib/libc/net/getaddrinfo.c" for some testing purposes with RESOLVER. But I don`t understand why is the code of res_query() duplicated in this file. I mean why is the function res_query() in the file "res_query.c" and also in this "getaddrinfo.c" like res_queryN() ??? Could somebody give me a reason please ? Currently I'm working with FreeBSD-4.3 Thanks a lot ... Vladimir _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message