fdup could fail when want for fdalloc > than the free fd in the block.
authorprovos <provos@openbsd.org>
Sat, 1 Apr 2000 23:29:25 +0000 (23:29 +0000)
committerprovos <provos@openbsd.org>
Sat, 1 Apr 2000 23:29:25 +0000 (23:29 +0000)
commitac6915b0855bf01071277c01a416c4314c179a9e
treea540ee6a7c05d924b21c3b8796fc078d1dc5e647
parentab002aff57395a32ddb03b9eebb3c2ca91c7b11a
fdup could fail when want for fdalloc > than the free fd in the block.
slightly different fix than in the bug report by
Rob Pickering <rob@syntonet.co.uk>
sys/kern/kern_descrip.c