Minor tset bug - (nf)
mcdaniel at uiuccsb.UUCP
mcdaniel at uiuccsb.UUCP
Sun Dec 4 19:27:50 AEST 1983
#N:uiuccsb:6300004:000:409
uiuccsb!mcdaniel Dec 4 00:35:00 1983
/***** uiuccsb:problems / emrath / 11:04 pm Dec 3, 1983 */
I found a very minor bug in tset.
tset assumes that stderr is the file connected
to the terminal that is to be set up.
If stderr is not a terminal, then tset tries to write
an error msg to stderr. However, tset exits prematurely.
Between lines 405 & 406 of tset.c:
prs("Not a terminal\n");
exit(1);
add the line:
flush();
/* ---------- */
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list