diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2012-09-24 14:05:38 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2012-09-24 14:05:38 +0100 |
commit | 5d60bc7f7c43c20fcf65531b5a5fb1fc7dcbb338 (patch) | |
tree | fd7cdea8dd53657a1545db7df6f2baa1e1c2f574 /osdep-dragonfly.c | |
parent | 5b85efeb93d44e504e36ae06a91c2e1b8b82c50e (diff) | |
download | rtmux-5d60bc7f7c43c20fcf65531b5a5fb1fc7dcbb338.tar.gz rtmux-5d60bc7f7c43c20fcf65531b5a5fb1fc7dcbb338.tar.bz2 rtmux-5d60bc7f7c43c20fcf65531b5a5fb1fc7dcbb338.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 'osdep-dragonfly.c')
-rw-r--r-- | osdep-dragonfly.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep-dragonfly.c b/osdep-dragonfly.c index 22045c37..ad417d98 100644 --- a/osdep-dragonfly.c +++ b/osdep-dragonfly.c @@ -31,7 +31,7 @@ struct kinfo_proc *cmp_procs(struct kinfo_proc *, struct kinfo_proc *); char *osdep_get_name(int, char *); -char *osdep_get_cwd(pid_t); +char *osdep_get_cwd(int); struct event_base *osdep_event_init(void); #ifndef nitems @@ -121,7 +121,7 @@ error: } char * -osdep_get_cwd(pid_t pid) +osdep_get_cwd(int fd) { return (NULL); } |