diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-04-10 11:51:16 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-04-10 11:51:16 +0000 |
commit | 69c86379e39476013205fce627951dd733d647b3 (patch) | |
tree | 36dd630c0fb897c7fcf070808cc7b69cb3a24e16 /server-client.c | |
parent | 738e789dbd7712ab94073036cf4e903abc68447f (diff) | |
download | rtmux-69c86379e39476013205fce627951dd733d647b3.tar.gz rtmux-69c86379e39476013205fce627951dd733d647b3.tar.bz2 rtmux-69c86379e39476013205fce627951dd733d647b3.zip |
Remove some code not needed on OpenBSD.
Diffstat (limited to 'server-client.c')
-rw-r--r-- | server-client.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/server-client.c b/server-client.c index ac4ecf29..6cacefa7 100644 --- a/server-client.c +++ b/server-client.c @@ -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; } |