mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 11:18:48 +00:00
No need to set cwd on Cygwin now, from Yuya Adachi.
This commit is contained in:
parent
2ad9caad3f
commit
83c96d2685
@ -1203,7 +1203,6 @@ server_client_dispatch_identify(struct client *c, struct imsg *imsg)
|
|||||||
|
|
||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
c->fd = open(c->ttyname, O_RDWR|O_NOCTTY);
|
c->fd = open(c->ttyname, O_RDWR|O_NOCTTY);
|
||||||
c->cwd = open(".", O_RDONLY);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (c->flags & CLIENT_CONTROL) {
|
if (c->flags & CLIENT_CONTROL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user