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.
11b49e9002Loris Cro committed on 3/15/2025, 5:29:54 AM· committed by Matthew Luggparent1f92b39