CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2020/07/20 12:57:19

Modified files:
        usr.bin/awk    : run.c 

Log message:
If closefile() is called on std{in,out,err}, freopen() /dev/null instead.
Otherwise, awk will continue trying to perform I/O on a closed stdio stream.
This appears to be consistent with how gawk behaves.  OK tim@

Reply via email to