From vazquez@IQM.Unicamp.BR  Tue Mar 11 01:28:36 1997
Received: from kalypso.iqm.unicamp.br (kalypso.iqm.unicamp.br [143.106.13.10])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA08506
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 11 Mar 1997 01:28:35 -0800 (PST)
Received: (from vazquez@localhost) 
           by kalypso.iqm.unicamp.br (8.8.5/8.7.3/FreeBSD/2.1.5) id GAA04878; Tue, 11 Mar 1997 06:26:06 -0300 (EST)
Message-Id: <199703110926.GAA04878@kalypso.iqm.unicamp.br>
Date: Tue, 11 Mar 1997 06:26:06 -0300 (EST)
From: vazquez@IQM.Unicamp.BR
Reply-To: vazquez@IQM.Unicamp.BR
To: FreeBSD-gnats-submit@freebsd.org
Subject: /usr/src/lib/libc/net/res_send.c typo
X-Send-Pr-Version: 3.2

>Number:         2946
>Category:       bin
>Synopsis:       res_send.c: make world fails on -current
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 11 01:30:02 PST 1997
>Closed-Date:    Wed May 7 21:33:01 PDT 1997
>Last-Modified:  Wed May  7 21:33:21 PDT 1997
>Originator:     Pedro A M Vazquez
>Release:        FreeBSD-current
>Organization:
IQ Unicamp 
>Environment:

	FreeBSD-current as of March-10-1997

>Description:
	a "_" is missing in 
	/usr/src/lib/libc/net/res_send.c 
	at line 554:
		
552                         if (s+1 > FD_SETSIZE) {
553                                 Perror(stderr, "res_send: too many files ");
554                                 res_close();
555                                 goto next_ns;
556                         }

line 554 should read:

554                                 _res_close();
	
A "make world" stops when linking /bin/rcp due an unresolved
symbol _res_close.

>How-To-Repeat:

	just type make world on -current as of 03/10/97

>Fix:
	

	change res_close(); to _res_close(); on line 554 of

	/usr/src/lib/libc/net/res_send.c

--- /usr/src/lib/libc/net/res_send.c~   Tue Mar 11 07:01:57 1997
+++ /usr/src/lib/libc/net/res_send.c    Tue Mar 11 07:01:46 1997
@@ -551,7 +551,7 @@
                        timeout.tv_usec = 0;
                        if (s+1 > FD_SETSIZE) {
                                Perror(stderr, "res_send: too many files");
-                               res_close();
+                               _res_close();
                                goto next_ns;
                        }
     wait:

>Release-Note:
>Audit-Trail:

From: j@uriah.heep.sax.de (J Wunsch)
To: vazquez@IQM.Unicamp.BR
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/2946: /usr/src/lib/libc/net/res_send.c typo
Date: Tue, 11 Mar 1997 14:13:54 +0100

 As vazquez@IQM.Unicamp.BR wrote:
 
 > 	FreeBSD-current as of March-10-1997
 
 No, not FreeBSD-current, but FreeBSD-2.2
 
 Jordan already fixed this (and has beaten me... i was also going to
 commit the fix).
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)
State-Changed-From-To: open->closed 
State-Changed-By: fenner 
State-Changed-When: Wed May 7 21:33:01 PDT 1997 
State-Changed-Why:  
As Joerg said, this has been fixed. 
>Unformatted:
