The branch, master has been updated
       via  6d6e1581b57b240c7d295ac734057ab760769398 (commit)
      from  64da762c15ddf0930baa1f8e4fc2b41515a64e3a (commit)

- Log -----------------------------------------------------------------
commit 6d6e1581b57b240c7d295ac734057ab760769398
Author: Thomas Adam <tho...@xteddy.org>
Commit: Thomas Adam <thomas.a...@smoothwall.net>

    Use osdep_get_cwd() for format change
---
 format.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/format.c b/format.c
index 35d5d72..5f57c72 100644
--- a/format.c
+++ b/format.c
@@ -391,7 +391,7 @@ format_window_pane(struct format_tree *ft, struct 
window_pane *wp)
                format_add(ft, "pane_start_command", "%s", wp->cmd);
        if (wp->cwd != NULL)
                format_add(ft, "pane_start_path", "%s", wp->cwd);
-       if ((cwd = get_proc_cwd(wp->fd)) != NULL)
+       if ((cwd = osdep_get_cwd(wp->fd)) != NULL)
                format_add(ft, "pane_current_path", "%s", cwd);
        format_add(ft, "pane_pid", "%ld", (long) wp->pid);
        if (wp->tty != NULL)


-----------------------------------------------------------------------

Summary of changes:
 format.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
tmux

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to