From 5d60bc7f7c43c20fcf65531b5a5fb1fc7dcbb338 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 24 Sep 2012 14:05:38 +0100 Subject: Use pgrp of pty fd not pid of immediate child when recovering current working directory (like current process). From Marcel Partap. --- osdep-dragonfly.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'osdep-dragonfly.c') 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); } -- cgit