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

Diff for /src/usr.bin/tmux/server.c between version 1.109 and 1.110

version 1.109, 2013/03/24 09:54:10 version 1.110, 2013/04/24 10:01:32
Line 169 
Line 169 
         cfg_references = 1;          cfg_references = 1;
         ARRAY_INIT(&cfg_causes);          ARRAY_INIT(&cfg_causes);
   
         if (access(SYSTEM_CFG, R_OK) == 0) {          if (access(TMUX_CONF, R_OK) == 0) {
                 if (load_cfg(SYSTEM_CFG, cfg_cmd_q, &cause) == -1) {                  if (load_cfg(TMUX_CONF, cfg_cmd_q, &cause) == -1) {
                         xasprintf(&cause, "%s: %s", SYSTEM_CFG, cause);                          xasprintf(&cause, "%s: %s", TMUX_CONF, cause);
                         ARRAY_ADD(&cfg_causes, cause);                          ARRAY_ADD(&cfg_causes, cause);
                 }                  }
         } else if (errno != ENOENT) {          } else if (errno != ENOENT) {
                 xasprintf(&cause, "%s: %s", SYSTEM_CFG, strerror(errno));                  xasprintf(&cause, "%s: %s", TMUX_CONF, strerror(errno));
                 ARRAY_ADD(&cfg_causes, cause);                  ARRAY_ADD(&cfg_causes, cause);
         }          }
         if (cfg_file != NULL) {          if (cfg_file != NULL) {

Legend:
Removed from v.1.109  
changed lines
  Added in v.1.110