From 42272dfbd5058724fc094eb3ea438ec6b7eb6cff Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 24 Sep 2012 13:05:10 +0000 Subject: Use pgrp of pty fd not pid of immediate child when recovering current working directory (like current process). From Marcel Partap. --- tmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index c208361b..90019bf2 100644 --- a/tmux.h +++ b/tmux.h @@ -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 *); -- cgit v1.2.3