The branch, master has been updated
via f3ec8693e36f7a562f6ddd87acfebf2340cad2ab (commit)
from e9b09faab262f179fec936c4036713866b98e3d0 (commit)
- Log -----------------------------------------------------------------
commit f3ec8693e36f7a562f6ddd87acfebf2340cad2ab
Author: Nicholas Marriott <[email protected]>
Commit: Nicholas Marriott <[email protected]>
Pass -1 for cwd now not NULL.
---
cmd-respawn-pane.c | 2 +-
cmd-respawn-window.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd-respawn-pane.c b/cmd-respawn-pane.c
index 36f8783..bcde275 100644
--- a/cmd-respawn-pane.c
+++ b/cmd-respawn-pane.c
@@ -77,7 +77,7 @@ cmd_respawn_pane_exec(struct cmd *self, struct cmd_q *cmdq)
cmd = args->argv[0];
else
cmd = NULL;
- if (window_pane_spawn(wp, cmd, NULL, NULL, &env, s->tio, &cause) != 0) {
+ if (window_pane_spawn(wp, cmd, NULL, -1, &env, s->tio, &cause) != 0) {
cmdq_error(cmdq, "respawn pane failed: %s", cause);
free(cause);
environ_free(&env);
diff --git a/cmd-respawn-window.c b/cmd-respawn-window.c
index 6026ca6..e6d913c 100644
--- a/cmd-respawn-window.c
+++ b/cmd-respawn-window.c
@@ -79,7 +79,7 @@ cmd_respawn_window_exec(struct cmd *self, struct cmd_q *cmdq)
cmd = args->argv[0];
else
cmd = NULL;
- if (window_pane_spawn(wp, cmd, NULL, NULL, &env, s->tio, &cause) != 0) {
+ if (window_pane_spawn(wp, cmd, NULL, -1, &env, s->tio, &cause) != 0) {
cmdq_error(cmdq, "respawn window failed: %s", cause);
free(cause);
environ_free(&env);
-----------------------------------------------------------------------
Summary of changes:
cmd-respawn-pane.c | 2 +-
cmd-respawn-window.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
tmux
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs