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

Diff for /src/usr.bin/tmux/tmux.c between version 1.156 and 1.157

version 1.156, 2015/11/22 19:41:19 version 1.157, 2015/11/24 21:19:46
Line 44 
Line 44 
 struct environ  *global_environ;  struct environ  *global_environ;
   
 char            *shell_cmd;  char            *shell_cmd;
 int              debug_level;  
 time_t           start_time;  time_t           start_time;
 char             socket_path[PATH_MAX];  char             socket_path[PATH_MAX];
   
Line 61 
Line 60 
         exit(1);          exit(1);
 }  }
   
 void  
 logfile(const char *name)  
 {  
         char    *path;  
   
         if (debug_level > 0) {  
                 xasprintf(&path, "tmux-%s-%ld.log", name, (long) getpid());  
                 log_open(path);  
                 free(path);  
         }  
 }  
   
 const char *  const char *
 getshell(void)  getshell(void)
 {  {
Line 243 
Line 230 
                         flags |= CLIENT_UTF8;                          flags |= CLIENT_UTF8;
                         break;                          break;
                 case 'v':                  case 'v':
                         debug_level++;                          log_add_level();
                         break;                          break;
                 default:                  default:
                         usage();                          usage();

Legend:
Removed from v.1.156  
changed lines
  Added in v.1.157