summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/manpath.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2020-07-20 18:57:19 +0000
committermillert <millert@openbsd.org>2020-07-20 18:57:19 +0000
commit95944651e29b62c80a936087f6ffcdf305d5c643 (patch)
tree9d577b1ab968f9a7e0193e6c1e5e24a5510cdee6 /usr.bin/mandoc/manpath.c
parentIn closeall(), skip stdin and flush std{err,out} instead of closing. (diff)
downloadwireguard-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