close open fd after testing files, ensuring that fd isn't stdin.
authorbrynet <brynet@openbsd.org>
Sat, 1 Jul 2017 21:07:13 +0000 (21:07 +0000)
committerbrynet <brynet@openbsd.org>
Sat, 1 Jul 2017 21:07:13 +0000 (21:07 +0000)
commitca8f418267a5fa32589226834a1fec1b015f26f5
tree0e09b19b5c599d11a07a8b8fd6cc6199c3088278
parent8d3e0a5bbdbc87cd82d95f52e615634d6e18d073
close open fd after testing files, ensuring that fd isn't stdin.

ok nicm@
usr.bin/file/file.c