On 2026-06-05 21:15, Collin Funk wrote:
Given that the issue exists on all non-EOL macOS versions, I think I am
okay with just using "#ifdef __APPLE__". I am leaning towards applying
the attached patch, but will sleep on it and give others a chance to
review.

That patch doesn't feel right. It opens the file and then fstats it and closes it and then opens it again and then checks that the dev+ino is the same both ways. Why not just open it once and be done with it? There's no need to use fstatat if you gotta open the file anyway.

Reply via email to