From 9784d3c277fb0906f9b94e0819ecf58379767a98 Mon Sep 17 00:00:00 2001 From: yabu76 Date: Sat, 16 Aug 2025 18:05:56 +0900 Subject: [PATCH] Fix compile error in MSYS2/Cygwin --- src/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tty.c b/src/tty.c index d59c7c1..6cc0ab0 100644 --- a/src/tty.c +++ b/src/tty.c @@ -2401,7 +2401,7 @@ void tty_wait_for_device(void) // Happens when port unpluged if (errno == EACCES) { - goto error; + break; } #elif defined(__APPLE__) if (errno == EBADF)