Feb. 16, 2024
10:10 a.m.
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…
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5083#note_61476