CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/07/13 09:49:31
Modified files:
usr.bin/tmux : tmux.h server-client.c tty.c
Log message:
Initialize cwd fd to -1 so that we don't close fd 0 if the client is
destroyed before it is changed. Also allow ttyname() to fail. Fixes
problems when running out of file descriptors reported by Bruno Sutic.
