CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2020/10/05 19:40:43

Modified files:
        bin/csh        : file.c 

Log message:
I observed "csh i < file-containing-^T" to hit tenex(), which proceeds to
perform tty(4) ioctl operations against a non-tty.  That is a pledge
violation, you can only do a subset of tty(4) ioctl against a fd which
references a tty device.  Sidestep this problem if the input descriptor is
not a tty
ok anton millert

Reply via email to