Set client stdout file descriptor also for Cgywin, from Michael Wild via Rafael

Kitover in GitHub issue 4148.
This commit is contained in:
Nicholas Marriott 2024-10-02 12:14:44 +01:00
parent 38c38f1c64
commit 8d6eb4be40

View File

@ -3111,6 +3111,7 @@ server_client_dispatch_identify(struct client *c, struct imsg *imsg)
#ifdef __CYGWIN__
c->fd = open(c->ttyname, O_RDWR|O_NOCTTY);
c->out_fd = dup(c->fd);
#endif
if (c->flags & CLIENT_CONTROL)