dup() the stdin fd so it isn't closed twice (once for stdin, once for tty).
authornicm <nicm@openbsd.org>
Wed, 28 Jul 2010 22:15:15 +0000 (22:15 +0000)
committernicm <nicm@openbsd.org>
Wed, 28 Jul 2010 22:15:15 +0000 (22:15 +0000)
commitd8fe945dfd9ba163b3010804fda431b0dbb08778
treef841d36a25830215bc68842f97195166ee37d9de
parenta56f3bb533934b7ecbaf8401ee04d71b220aae76
dup() the stdin fd so it isn't closed twice (once for stdin, once for tty).
usr.bin/tmux/server-client.c