diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-09-24 13:05:10 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-09-24 13:05:10 +0000 |
commit | 42272dfbd5058724fc094eb3ea438ec6b7eb6cff (patch) | |
tree | 03d77032589c1c7fca5ddcb1d2e137f44366b988 /tmux.h | |
parent | eb0ad181e909c83fad8c1fd2a4a37271b6980ea2 (diff) | |
download | rtmux-42272dfbd5058724fc094eb3ea438ec6b7eb6cff.tar.gz rtmux-42272dfbd5058724fc094eb3ea438ec6b7eb6cff.tar.bz2 rtmux-42272dfbd5058724fc094eb3ea438ec6b7eb6cff.zip |
Use pgrp of pty fd not pid of immediate child when recovering current
working directory (like current process). From Marcel Partap.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2277,7 +2277,7 @@ u_int utf8_split2(u_int, u_char *); /* procname.c */ char *get_proc_name(int, char *); -char *get_proc_cwd(pid_t); +char *get_proc_cwd(int); /* log.c */ void log_open(int, const char *); |