On Fri Feb 16 16:06:54 2024 +0000, Jinoh Kang wrote:
Why do you need to check for __linux__ to use readlink()?
/proc/self/fd is Linux-specific. Perhaps we should use /dev/fd on FreeBSD instead. (macOS has F_GETPATH.)
My point is that we're just retrieving the file name here. We shouldn't access the filesystem…