On Wed Dec 14 20:42:06 2022 +0000, Gabriel Ivăncescu wrote:
Nice. At least my comment indirectly worked as a reminder :)
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).