No need to set cwd on Cygwin now, from Yuya Adachi.

This commit is contained in:
Nicholas Marriott 2015-12-20 11:25:13 +00:00
parent 2ad9caad3f
commit 83c96d2685

View File

@ -1203,7 +1203,6 @@ server_client_dispatch_identify(struct client *c, struct imsg *imsg)
#ifdef __CYGWIN__
c->fd = open(c->ttyname, O_RDWR|O_NOCTTY);
c->cwd = open(".", O_RDONLY);
#endif
if (c->flags & CLIENT_CONTROL) {