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

Diff for /src/usr.bin/tmux/window.c between version 1.149 and 1.150

version 1.149, 2015/11/18 14:27:44 version 1.150, 2015/11/24 23:46:16
Line 808 
Line 808 
     struct termios *tio, char **cause)      struct termios *tio, char **cause)
 {  {
         struct winsize   ws;          struct winsize   ws;
         char            *argv0, *cmd, **argvp, paneid[16];          char            *argv0, *cmd, **argvp;
         const char      *ptr, *first, *home;          const char      *ptr, *first, *home;
         struct termios   tio2;          struct termios   tio2;
         int              i;          int              i;
Line 863 
Line 863 
                 closefrom(STDERR_FILENO + 1);                  closefrom(STDERR_FILENO + 1);
   
                 if (path != NULL)                  if (path != NULL)
                         environ_set(env, "PATH", path);                          environ_set(env, "PATH", "%s", path);
                 xsnprintf(paneid, sizeof paneid, "%%%u", wp->id);                  environ_set(env, "TMUX_PANE", "%%%u", wp->id);
                 environ_set(env, "TMUX_PANE", paneid);  
                 environ_push(env);                  environ_push(env);
   
                 clear_signals(1);                  clear_signals(1);

Legend:
Removed from v.1.149  
changed lines
  Added in v.1.150