bug in 4.2 ptys stuff. Weird results when programs are swapped.
terryl at tekchips.UUCP
terryl at tekchips.UUCP
Sat Oct 20 07:59:23 AEST 1984
Oops, I found out why the error was ENOTTY after the program swapped;
in the original program, an error is detected and errno is printed. But errno
is printed in something like the second or third printf, so all bets are off
that the value printed is what really caused the error to begin with. If you
save the value of errno and then print the saved value, the error is EIO even
after swapping, which is what is to be expected.
Terry Laskodi
of
Tektronix
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list