NetBSD Problem Report #250
From gnats Fri May 13 23:22:12 1994
Received: from boombox.apana.org.au (root@boombox.apana.org.au [192.188.107.66]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id XAA18413 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Fri, 13 May 1994 23:22:06 -0700
Message-Id: <199405140611.QAA05269@maenor.apana.org.au>
Date: Sat, 14 May 1994 16:11:14 +1000
From: Giles Lean <giles@maenor.apana.org.au>
Reply-To: giles@maenor.apana.org.au
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: ANSI prototypes for res_search(), res_query()
X-Send-Pr-Version: 3.2
>Number: 250
>Category: lib
>Synopsis: No ANSI prototypes for res_search(), res_query()
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: jtc
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 13 23:35:03 +0000 1994
>Closed-Date: Sun Jun 12 18:16:20 +0000 1994
>Last-Modified:
>Originator: Giles Lean
>Release: -current (April 6th)
>Organization:
<giles@maenor.apana.org.au> +61 3 480 2118 (h)
+61 3 272 2519 (w)
>Environment:
System: NetBSD maenor.apana.org.au 0.9a MAENOR#2 i386
>Description:
The res_query() and res_search() functions documented
in resolver(3) do not have prototypes in any include
file.
>How-To-Repeat:
Inspect include files.
>Fix:
Should be in <resolv.h>?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed
State-Changed-By: jtc
State-Changed-When: Sun Jun 12 07:49:59 1994
State-Changed-Why:
I've added the prototypes to my <resolv.h> and the whole world compiles
without error. I'm waiting for a response from vixie before I check it
in.
Responsible-Changed-From-To: gnats-admin->jtc
Responsible-Changed-By: jtc
Responsible-Changed-When: Sun Jun 12 07:52:15 1994
Responsible-Changed-Why:
I've sent a message to vixie asking about this bug (and hopefully getting it
fixed in the master source before the next bind/resolver release).
State-Changed-From-To: analyzed->closed
State-Changed-By: jtc
State-Changed-When: Sun Jun 12 18:16:20 1994
State-Changed-Why:
Vixie pointed me to bind 4.9.3-beta3, which contains the prototypes.
I've added them to <resolv.h>, the rest can wait until the final 4.9.3
release.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.