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

Diff for /src/usr.bin/tmux/format.c between version 1.182 and 1.183

version 1.182, 2019/03/15 15:02:25 version 1.183, 2019/03/18 09:46:42
Line 346 
Line 346 
                 force = (ft->flags & FORMAT_FORCE);                  force = (ft->flags & FORMAT_FORCE);
   
         t = time(NULL);          t = time(NULL);
         if (fj->job == NULL && (force || fj->last != t)) {          if (force && fj->job != NULL)
                  job_free(fj->job);
           if (force || (fj->job == NULL && fj->last != t)) {
                 fj->job = job_run(expanded, NULL,                  fj->job = job_run(expanded, NULL,
                     server_client_get_cwd(ft->client, NULL), format_job_update,                      server_client_get_cwd(ft->client, NULL), format_job_update,
                     format_job_complete, NULL, fj, JOB_NOWAIT);                      format_job_complete, NULL, fj, JOB_NOWAIT);

Legend:
Removed from v.1.182  
changed lines
  Added in v.1.183