[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.68 and 1.69

version 1.68, 2010/02/04 18:27:06 version 1.69, 2010/02/06 17:15:33
Line 432 
Line 432 
                                 home = pw->pw_dir;                                  home = pw->pw_dir;
                 }                  }
                 xasprintf(&cfg_file, "%s/%s", home, DEFAULT_CFG);                  xasprintf(&cfg_file, "%s/%s", home, DEFAULT_CFG);
                 if (access(cfg_file, R_OK) != 0) {                  if (access(cfg_file, R_OK) != 0 && errno == ENOENT) {
                         xfree(cfg_file);                          xfree(cfg_file);
                         cfg_file = NULL;                          cfg_file = NULL;
                 }  
         } else {  
                 if (access(cfg_file, R_OK) != 0) {  
                         log_warn("%s", cfg_file);  
                         exit(1);  
                 }                  }
         }          }
   

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69