Add back __CYGWIN__ block

This went missing during the merge from OpenBSD.
This commit is contained in:
Thomas Adam 2015-05-09 20:03:24 +01:00
parent c11f628342
commit 4165ed96f8

View File

@ -1187,6 +1187,11 @@ server_client_msg_identify(struct client *c, struct imsg *imsg)
return;
c->flags |= CLIENT_IDENTIFIED;
#ifdef __CYGWIN__
c->fd = open(c->ttyname, O_RDWR|O_NOCTTY);
c->cwd = open(".", O_RDONLY);
#endif
if (c->flags & CLIENT_CONTROL) {
c->stdin_callback = control_callback;