CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/10/20 14:21:18
Modified files:
usr.bin/write : write.c
Log message:
Fix write to other user's tty. The device has to be opened with
O_WRONLY, but without O_CREAT. So freopen(3) has to be replaced
with open(2) and dup2(2).
from deraadt@
