Am 09.08.25 um 07:59 schrieb Michael Tokarev:
On 09.08.2025 08:46, Michael Tokarev wrote:
Commit 3736506e25ac7bb "meson: Fix brlapi compile test for
Windows builds" fixed brlapi configure-time test to use
BRLAPI_INVALID_FILE_DESCRIPTOR instead of -1, b/c on windows,
it is not -1. But the same test is used at run time when
initing brlapi in chardev/baum.c. Fix this one too.
This patch need "a bit" more work. Because brlapi_fd is an int
instead of brlapi_fileDescriptor, which is trivial to fix too.
But also, this fd is used for qemu_set_fd_handler(), which is
more interesting.
We had a similar situation in slirp a while back.
Hi Michael,
I just have sent the patch which I use since 2023.
Thanks
Stefan