Please sign in to comment.
Bugfix: remove extraneous close
The *os.File created above will already take care of closing the underlying file descriptor. The extra close was harmless at best, and introducing test hangs at worst, as reported in https://bugs.debian.org/907828: if the *os.File close doesn’t result in -EBADF, but rather closes an open file descriptor such as the stderr pipe to mandoc, we would hang forever in waiting for stderr to close.
- Loading branch information...