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

Diff for /src/usr.bin/tmux/cmd-source-file.c between version 1.44 and 1.45

version 1.44, 2019/12/19 09:22:33 version 1.45, 2019/12/21 17:30:48
Line 125 
Line 125 
 {  {
         struct args                     *args = self->args;          struct args                     *args = self->args;
         struct cmd_source_file_data     *cdata;          struct cmd_source_file_data     *cdata;
         int                              flags = 0;  
         struct client                   *c = item->client;          struct client                   *c = item->client;
         enum cmd_retval                  retval = CMD_RETURN_NORMAL;          enum cmd_retval                  retval = CMD_RETURN_NORMAL;
         char                            *pattern, *cwd;          char                            *pattern, *cwd;
Line 161 
Line 160 
   
                 if ((result = glob(pattern, 0, NULL, &g)) != 0) {                  if ((result = glob(pattern, 0, NULL, &g)) != 0) {
                         if (result != GLOB_NOMATCH ||                          if (result != GLOB_NOMATCH ||
                             (~flags & CMD_PARSE_QUIET)) {                              (~cdata->flags & CMD_PARSE_QUIET)) {
                                 if (result == GLOB_NOMATCH)                                  if (result == GLOB_NOMATCH)
                                         error = strerror(ENOENT);                                          error = strerror(ENOENT);
                                 else if (result == GLOB_NOSPACE)                                  else if (result == GLOB_NOSPACE)

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45