[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.69 and 1.70

version 1.69, 2015/05/29 23:12:38 version 1.70, 2015/05/29 23:26:52
Line 175 
Line 175 
         fj->job = NULL;          fj->job = NULL;
         free(fj->out);          free(fj->out);
   
         if (WIFEXITED(job->status) && WEXITSTATUS(job->status) != 0) {  
                 xasprintf(&fj->out, "<'%s' exited with %d>", fj->cmd,  
                     WEXITSTATUS(job->status));  
                 return;  
         }  
         if (WIFSIGNALED(job->status)) {  
                 xasprintf(&fj->out, "<'%s' got signal %d>", fj->cmd,  
                     WTERMSIG(job->status));  
                 return;  
         }  
   
         buf = NULL;          buf = NULL;
         if ((line = evbuffer_readline(job->event->input)) == NULL) {          if ((line = evbuffer_readline(job->event->input)) == NULL) {
                 len = EVBUFFER_LENGTH(job->event->input);                  len = EVBUFFER_LENGTH(job->event->input);

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