Pass current directory as a string rather than a file descriptor because

pledge doesn't let us pass directory file descriptors.
This commit is contained in:
nicm
2015-10-18 20:42:42 +00:00
parent 9c601ebde8
commit 174a2ad731
3 changed files with 15 additions and 13 deletions

3
tmux.h
View File

@ -395,11 +395,12 @@ enum msgtype {
MSG_IDENTIFY_FLAGS = 100,
MSG_IDENTIFY_TERM,
MSG_IDENTIFY_TTYNAME,
MSG_IDENTIFY_CWD,
MSG_IDENTIFY_OLDCWD, /* unused */
MSG_IDENTIFY_STDIN,
MSG_IDENTIFY_ENVIRON,
MSG_IDENTIFY_DONE,
MSG_IDENTIFY_CLIENTPID,
MSG_IDENTIFY_CWD,
MSG_COMMAND = 200,
MSG_DETACH,