Date: Wed, 29 Jul 1998 11:20:01 -0700 (PDT) From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7429: stdin/stderr are lost in rshd Message-ID: <199807291820.LAA21532@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/7429; it has been noted by GNATS. From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: serg@bcs.zp.ua Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/7429: stdin/stderr are lost in rshd Date: Wed, 29 Jul 1998 20:18:05 +0200 (CEST) > Description: > stdin/stderr are lost for programs executed via rshd(8) > > How-To-Repeat: > rsh machine "cat" > rsh machine "echo 123 >&2" > > Fix: > > --- rshd.c.orig Wed Jul 29 16:59:30 1998 > +++ rshd.c Wed Jul 29 16:59:14 1998 > @@ -304,7 +304,7 @@ > (void) alarm(0); > if (port != 0) { > int lport = IPPORT_RESERVED - 1; > - int s = rresvport(&lport); > + s = rresvport(&lport); > if (s < 0) { > syslog(LOG_ERR, "can't get stderr port: %m"); > exit(1); This bug report can be closed. The fix was brought into -STABLE 5 days ago. http://www.freebsd.org/cgi/cvsweb.cgi/src/libexec/rshd/rshd.c -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807291820.LAA21532>