diff options
author | 2020-07-20 18:57:19 +0000 | |
---|---|---|
committer | 2020-07-20 18:57:19 +0000 | |
commit | 95944651e29b62c80a936087f6ffcdf305d5c643 (patch) | |
tree | 9d577b1ab968f9a7e0193e6c1e5e24a5510cdee6 /usr.bin/mandoc/manpath.c | |
parent | In closeall(), skip stdin and flush std{err,out} instead of closing. (diff) | |
download | wireguard-openbsd-95944651e29b62c80a936087f6ffcdf305d5c643.tar.xz wireguard-openbsd-95944651e29b62c80a936087f6ffcdf305d5c643.zip |
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@
Diffstat (limited to 'usr.bin/mandoc/manpath.c')
0 files changed, 0 insertions, 0 deletions