HomeFreeBSD

Pass the correct nonblocking flag to VOP_CLOSE() in vclean().

Description

Pass the correct nonblocking flag to VOP_CLOSE() in vclean().
VOP_CLOSE() takes F' (file) flags, not IO' flags. At least that's
what close() passes. I previously fixed ttylclose() to check
FNONBLOCK instead of IO_NDELAY. This broke the call from vclean()
and cleaning of ptys sometimes deadlocked.

Details

Provenance
Bruce Evans <bde@FreeBSD.org>Authored on Jun 27 1995, 9:29 PM
Parents
rG20dc68b20484: Delete obsolete #if 0 block.
Branches
Unknown
Tags
Unknown

Event Timeline