The code did one useless thing and two wrong things:
- ref counting was basically a noop
- last_dir_fd was chosen from the wrong index and also under the wrong
condition
This caused regular crashes on macOS which are now gone.
f954950485Loris Cro committed on 3/18/2025, 3:57:31 AM· committed by Alex Rønne Petersenparentf79dacb