HomeFreeBSD

Revert r279010:

Description

Revert r279010:
tdelete(3): don't delete the node we are about to return.

The original change, from NetBSD, was bogus; introduced a memory
leak and and broke POSIX. By reverting we actually match NetBSD's
latest revision.

This is a direct commit to 10 since this function was rewritten
in 11-current.

Reported by: Markiyan Kushnir
Obtained from: NetBSD (CVS rev. 1.7, 1.8)

Details

Provenance
pfgAuthored on
Parents
rS294761: Revert one chunk from commit 285362, which introduced an off-by-one error
Branches
Unknown
Tags
Unknown