The 'forkpty' module does not build on mingw since Windows does not have 'fork'. I accidental included it in a testdir...
This patch removes a comment that the code is for mingw, since it does not build, as mentioned in the documentation. Collin
>From 723a56c3d3ce49c303e18d6ecffbe3a53f626547 Mon Sep 17 00:00:00 2001 Message-ID: <723a56c3d3ce49c303e18d6ecffbe3a53f626547.1751679389.git.collin.fu...@gmail.com> From: Collin Funk <collin.fu...@gmail.com> Date: Fri, 4 Jul 2025 18:33:08 -0700 Subject: [PATCH] forkpty: Adjust misleading comment. * lib/forkpty.c: Remove comment about mingw where it does not build. --- ChangeLog | 5 +++++ lib/forkpty.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4632e55bad..7b9e2710c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2025-07-04 Collin Funk <collin.fu...@gmail.com> + + forkpty: Adjust misleading comment. + * lib/forkpty.c: Remove comment about mingw where it does not build. + 2025-07-01 Bruno Haible <br...@clisp.org> doc: Update regarding stable branches. diff --git a/lib/forkpty.c b/lib/forkpty.c index 249c16cf45..a8a199a4c4 100644 --- a/lib/forkpty.c +++ b/lib/forkpty.c @@ -32,7 +32,7 @@ rpl_forkpty (int *amaster, char *name, struct termios const *termp, (struct winsize *) winp); } -#else /* AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10, mingw */ +#else /* AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10. */ # include <pty.h> # include <unistd.h> -- 2.50.0