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

Diff for /src/usr.bin/tmux/arguments.c between version 1.23 and 1.24

version 1.23, 2019/05/27 12:16:27 version 1.24, 2019/05/28 18:30:30
Line 211 
Line 211 
         char                    *escaped, *result;          char                    *escaped, *result;
         int                      flags;          int                      flags;
   
           if (*s == '\0')
                   return (xstrdup(s));
         if ((strchr(quoted, s[0]) != NULL || s[0] == '~') && s[1] == '\0') {          if ((strchr(quoted, s[0]) != NULL || s[0] == '~') && s[1] == '\0') {
                 xasprintf(&escaped, "\\%c", s[0]);                  xasprintf(&escaped, "\\%c", s[0]);
                 return (escaped);                  return (escaped);

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24