Date: Wed, 10 Jul 2002 23:42:12 -0700 (PDT) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh jobs.c Message-ID: <200207110642.g6B6gCAD039274@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2002/07/10 23:42:12 PDT
Modified files:
bin/sh jobs.c
Log:
Don't assume the shell's controlling terminal is attached to file descriptor
2. Instead, open /dev/tty. This problem stopped commands in subshells from
being executed correctly if standard error was redirected.
PR: 36671
Obtained from: NetBSD (but simplified)
Revision Changes Path
1.50 +27 -8 src/bin/sh/jobs.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207110642.g6B6gCAD039274>
