This commit moves the file descriptor renumbering operation into the file descriptor table code since it depends on performing several fd table operations, and uses its internals. The previous implementation was broken anyway.
CI seems fine. Node CI with a new test for this functionality seems fine too.
This commit moves the file descriptor renumbering operation into the file descriptor table code since it depends on performing several fd table operations, and uses its internals. The previous implementation was broken anyway.
CI seems fine. Node CI with a new test for this functionality seems fine too.