CVSROOT:        /cvs
Module name:    src
Changes by:     n...@cvs.openbsd.org    2009/09/23 00:05:02

Modified files:
        usr.bin/tmux   : client.c server-msg.c tmux.h tty.c 

Log message:
Don't attempt to open() the tty path, rely on the client sending its stdin fd
with imsg and fatal if it doesn't, then set the FD_CLOEXEC flag in tty_init
instead of tty_open to prevent them leaking into child processes if any are
created between the two calls.

This bumps the protocol version, so the tmux server should be killed before
upgrading.

Reply via email to