diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-04-10 11:51:17 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-04-10 11:51:17 +0000 |
commit | 73aa9c341ace5d80fd9fca0e0fe14aaeb580e0a2 (patch) | |
tree | 3e27f0bc8ce66bb9d615f3790394d4477a849958 | |
parent | d22877dbabfd0a0409e7dc3605b2175e13617ccf (diff) |
Remove some code not needed on OpenBSD.
-rw-r--r-- | usr.bin/tmux/server-client.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c index 32907f3cb0d..42b73549dc8 100644 --- a/usr.bin/tmux/server-client.c +++ b/usr.bin/tmux/server-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-client.c,v 1.99 2013/03/27 11:17:12 nicm Exp $ */ +/* $OpenBSD: server-client.c,v 1.100 2013/04/10 11:51:16 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -534,18 +534,8 @@ server_client_check_resize(struct window_pane *wp) ws.ws_col = wp->sx; ws.ws_row = wp->sy; - if (ioctl(wp->fd, TIOCSWINSZ, &ws) == -1) { -#ifdef __sun - /* - * Some versions of Solaris apparently can return an error when - * resizing; don't know why this happens, can't reproduce on - * other platforms and ignoring it doesn't seem to cause any - * issues. - */ - if (errno != EINVAL) -#endif + if (ioctl(wp->fd, TIOCSWINSZ, &ws) == -1) fatal("ioctl failed"); - } wp->flags &= ~PANE_RESIZE; } |