Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2019-05-29 23:02:25 +01:00
5 changed files with 44 additions and 12 deletions

View File

@ -217,7 +217,7 @@ args_escape(const char *s)
return (escaped);
}
flags = VIS_OCTAL|VIS_TAB|VIS_NL;
flags = VIS_OCTAL|VIS_CSTYLE|VIS_TAB|VIS_NL;
if (s[strcspn(s, quoted)] != '\0')
flags |= VIS_DQ;
utf8_stravis(&escaped, s, flags);