cvs commit: src/usr.bin/script script.c
Colin Percival
cperciva at FreeBSD.org
Thu Jan 22 13:01:16 PST 2004
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
More information about the cvs-src
mailing list