Date: Tue, 11 Mar 1997 06:26:06 -0300 (EST) From: vazquez@IQM.Unicamp.BR To: FreeBSD-gnats-submit@freebsd.org Subject: bin/2946: /usr/src/lib/libc/net/res_send.c typo Message-ID: <199703110926.GAA04878@kalypso.iqm.unicamp.br> Resent-Message-ID: <199703110930.BAA09037@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 2946
>Category: bin
>Synopsis: res_send.c: make world fails on -current
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 11 01:30:02 PST 1997
>Last-Modified:
>Originator: Pedro A M Vazquez
>Organization:
IQ Unicamp
>Release: FreeBSD-current
>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:
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703110926.GAA04878>
