[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.131 and 1.132

version 1.131, 2014/04/17 07:55:43 version 1.132, 2014/10/20 23:27:14
Line 22 
Line 22 
 #include <errno.h>  #include <errno.h>
 #include <event.h>  #include <event.h>
 #include <fcntl.h>  #include <fcntl.h>
   #include <getopt.h>
 #include <locale.h>  #include <locale.h>
 #include <paths.h>  #include <paths.h>
 #include <pwd.h>  #include <pwd.h>
Line 46 
Line 47 
 char            *shell_cmd;  char            *shell_cmd;
 int              debug_level;  int              debug_level;
 time_t           start_time;  time_t           start_time;
 char             socket_path[MAXPATHLEN];  char             socket_path[PATH_MAX];
 int              login_shell;  int              login_shell;
 char            *environ_path;  char            *environ_path;
   
Line 124 
Line 125 
 char *  char *
 makesocketpath(const char *label)  makesocketpath(const char *label)
 {  {
         char            base[MAXPATHLEN], realbase[MAXPATHLEN], *path, *s;          char            base[PATH_MAX], realbase[PATH_MAX], *path, *s;
         struct stat     sb;          struct stat     sb;
         u_int           uid;          u_int           uid;
   
Line 202 
Line 203 
 main(int argc, char **argv)  main(int argc, char **argv)
 {  {
         struct passwd   *pw;          struct passwd   *pw;
         char            *s, *path, *label, **var, tmp[MAXPATHLEN];          char            *s, *path, *label, **var, tmp[PATH_MAX];
         char             in[256];          char             in[256];
         const char      *home;          const char      *home;
         long long        pid;          long long        pid;

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.132