diff options
| author | Nicholas Marriott <nicm@openbsd.org> | 2009-08-12 06:04:28 +0000 |
|---|---|---|
| committer | Nicholas Marriott <nicm@openbsd.org> | 2009-08-12 06:04:28 +0000 |
| commit | 85e8b70625c415e25b332e59152f6383a49afa5d (patch) | |
| tree | e0c8d20914a1bb23c0b4d8fdd0525a44ffd0806f /server.c | |
| parent | e0a19abb99aebcee544c451ff5e99f6a59d42d0c (diff) | |
| download | rtmux-85e8b70625c415e25b332e59152f6383a49afa5d.tar.gz rtmux-85e8b70625c415e25b332e59152f6383a49afa5d.tar.bz2 rtmux-85e8b70625c415e25b332e59152f6383a49afa5d.zip | |
imsg closes the fd after sending, so dup() STDIN_FILENO before passing it to
the parent, otherwise TIOCGWINSZ will fail when the window is resized (that
could actually be moved into the server but this is more future-proof and
avoids breaking the protocol).
Diffstat (limited to 'server.c')
0 files changed, 0 insertions, 0 deletions