Date: Thu, 22 Jan 2004 13:01:14 -0800 (PST) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/script script.c Message-ID: <200401222101.i0ML1E4E030350@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2004/01/22 13:01:14 PST
FreeBSD src repository
Modified files:
usr.bin/script script.c
Log:
Two fixes for script(1):
1. Don't do tty stuff to stdin if stdin isn't a tty.
2. When running in non-interactive mode, don't select(2)
on the standard input.
This un-breaks non-interactive portupgrade.
PR: bin/59036 [1]
PR: bin/56166, bin/57414, ports/57415, ports/60534 [2]
MFC after: 7 days
Approved by: rwatson (mentor)
Revision Changes Path
1.21 +22 -11 src/usr.bin/script/script.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401222101.i0ML1E4E030350>
