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

Diff for /src/usr.bin/tmux/cfg.c between version 1.29 and 1.30

version 1.29, 2013/03/25 10:06:13 version 1.30, 2013/10/20 17:28:43
Line 31 
Line 31 
 int                      cfg_finished;  int                      cfg_finished;
 int                      cfg_references;  int                      cfg_references;
 struct causelist         cfg_causes;  struct causelist         cfg_causes;
   struct client           *cfg_client;
   
 int  int
 load_cfg(const char *path, struct cmd_q *cmdq, char **cause)  load_cfg(const char *path, struct cmd_q *cmdq, char **cause)
Line 127 
Line 128 
   
         cmdq_free(cfg_cmd_q);          cmdq_free(cfg_cmd_q);
         cfg_cmd_q = NULL;          cfg_cmd_q = NULL;
   
           if (cfg_client != NULL) {
                   /*
                    * The client command queue starts with client_exit set to 1 so
                    * only continue if not empty (that is, we have been delayed
                    * during configuration parsing for long enough that the
                    * MSG_COMMAND has arrived), else the client will exit before
                    * the MSG_COMMAND which might tell it not to.
                    */
                   if (!TAILQ_EMPTY(&cfg_client->cmdq->queue))
                           cmdq_continue(cfg_client->cmdq);
                   cfg_client->references--;
                   cfg_client = NULL;
           }
 }  }
   
 void  void

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30