Dec. 15, 2022
9:28 a.m.
On Thu Dec 15 09:22:18 2022 +0000, eric pouech wrote:
Trying to get a name for a fd won't cover all the use cases: - AFAICT not all the unices provide a reliable interface (current code in wine staging covers at least linux, netbsd & macos) - fd:s not mapped to a file won't get a name. so cases like 'wine foo | dosomething' or 'wine foo > /dev/null' won't be supported. Getting a name for a fd bound to a file would be an improvement in Wine, but it can cover all the cases considered in the bug [](https://bugs.winehq.org/show_bug.cgi?id=51813). and I forgot in the list of not supported case the fd:s gotten from current (p)tty (so the handles mapped to fd 0,1 & 2)
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1665#note_19673