[BACK]Return to cmd-respawn-window.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-respawn-window.c between version 1.14 and 1.15

version 1.14, 2011/07/04 13:35:37 version 1.15, 2012/07/10 11:53:01
Line 18 
Line 18 
   
 #include <sys/types.h>  #include <sys/types.h>
   
   #include <stdlib.h>
 #include <unistd.h>  #include <unistd.h>
   
 #include "tmux.h"  #include "tmux.h"
Line 81 
Line 82 
                 cmd = NULL;                  cmd = NULL;
         if (window_pane_spawn(wp, cmd, NULL, NULL, &env, s->tio, &cause) != 0) {          if (window_pane_spawn(wp, cmd, NULL, NULL, &env, s->tio, &cause) != 0) {
                 ctx->error(ctx, "respawn window failed: %s", cause);                  ctx->error(ctx, "respawn window failed: %s", cause);
                 xfree(cause);                  free(cause);
                 environ_free(&env);                  environ_free(&env);
                 server_destroy_pane(wp);                  server_destroy_pane(wp);
                 return (-1);                  return (-1);

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15