[BACK]Return to cmd-run-shell.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-run-shell.c between version 1.71 and 1.72

version 1.71, 2021/03/02 10:56:45 version 1.72, 2021/03/15 13:06:33
Line 20 
Line 20 
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/wait.h>  #include <sys/wait.h>
   
   #include <ctype.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
   
Line 190 
Line 191 
                             &error);                              &error);
                 }                  }
                 if (status == CMD_PARSE_ERROR) {                  if (status == CMD_PARSE_ERROR) {
                        cmdq_error(cdata->item, "%s", error);                          if (cdata->item == NULL) {
                        free(error);                                  *error = toupper((u_char)*error);
                                   status_message_set(c, -1, 1, "%s", error);
                           } else
                                   cmdq_error(cdata->item, "%s", error);
                           free(error);
                 }                  }
         }          }
   

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72