Date: 29 Sep 1998 13:39:56 -0000 From: thompson@tgsoft.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/8084: NIT: non-working code in rshd Message-ID: <19980929133956.23588.qmail@squirrel.tgsoft.com>
index | next in thread | raw e-mail
>Number: 8084
>Category: bin
>Synopsis: NIT: non-working code in rshd
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 29 06:50:00 PDT 1998
>Last-Modified:
>Originator: mark thompson
>Organization:
tgsoft
>Release: FreeBSD 2.2.7-RELEASE i386
>Environment:
>Description:
The ioctl below does not seem to do anything useful, since the fd is closed.
if (pid) {
(void) close(0); (void) close(1); (void) close(2);
(void) close(f); (void) close(pv[1]);
readfrom = (1<<s) | (1<<pv[0]);
ioctl(pv[1], FIONBIO, (char *)&one);
/* should set s nbio! */
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980929133956.23588.qmail>
