[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.35 and 1.36

version 1.35, 2017/04/19 16:59:54 version 1.36, 2018/05/24 09:42:49
Line 61 
Line 61 
         if (*path == '/')          if (*path == '/')
                 pattern = xstrdup(path);                  pattern = xstrdup(path);
         else {          else {
                 utf8_stravis(&tmp, server_client_get_cwd(c), VIS_GLOB);                  utf8_stravis(&tmp, server_client_get_cwd(c, NULL), VIS_GLOB);
                 xasprintf(&pattern, "%s/%s", tmp, path);                  xasprintf(&pattern, "%s/%s", tmp, path);
                 free(tmp);                  free(tmp);
         }          }

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36