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

Diff for /src/usr.bin/tmux/cmd-new-session.c between version 1.96 and 1.97

version 1.96, 2017/01/13 11:56:43 version 1.97, 2017/01/24 20:15:32
Line 73 
Line 73 
         struct window           *w;          struct window           *w;
         struct environ          *env;          struct environ          *env;
         struct termios           tio, *tiop;          struct termios           tio, *tiop;
         const char              *newname, *target, *update, *errstr, *template;          const char              *newname, *target, *errstr, *template;
         const char              *path, *cmd, *cwd, *to_free = NULL;          const char              *path, *cmd, *cwd, *to_free = NULL;
         char                   **argv, *cause, *cp;          char                   **argv, *cause, *cp;
         int                      detached, already_attached, idx, argc;          int                      detached, already_attached, idx, argc;
Line 234 
Line 234 
   
         /* Construct the environment. */          /* Construct the environment. */
         env = environ_create();          env = environ_create();
         if (c != NULL && !args_has(args, 'E')) {          if (c != NULL && !args_has(args, 'E'))
                 update = options_get_string(global_s_options,                  environ_update(global_s_options, c->environ, env);
                     "update-environment");  
                 environ_update(update, c->environ, env);  
         }  
   
         /* Create the new session. */          /* Create the new session. */
         idx = -1 - options_get_number(global_s_options, "base-index");          idx = -1 - options_get_number(global_s_options, "base-index");

Legend:
Removed from v.1.96  
changed lines
  Added in v.1.97