* Changes in infrastructure
* The mailing list was moved to strace-devel@lists.strace.io.
+* Changes in behaviour
+ * Closing angle bracket is now printed as an octal number escape sequence
+ in the output of paths associated with file descriptors.
+
* Improvements
* IPv6 addresses shown in socket information in -yy mode are now printed
in brackets.
} checks[] = {
{ ARG_STR("\1\0020\v\0047\f\58\t\79\n\10\0171\r\0167\218\37 \\\'\"<<0::0>>1~\177\200\377"),
"\\1\\0020\\v\\0047\\f\\58\\t\\79\\n\\10\\0171\\r\\0167"
- "\\218\\37 \\\\\'\\\"<<0::0>>1~\\177\\200\\377" },
+ "\\218\\37 \\\\\'\\\"<<0::0\\76\\0761~\\177\\200\\377" },
};
if (!getcwd(dir, sizeof(dir)))
int rc = fsync(fd);
printf("fsync(%ld<", fd);
- print_quoted_string_ex(dir, false, NULL);
+ print_quoted_string_ex(dir, false, ">");
printf("/%s>) = %s\n", checks[i].fdstr, sprintrc(rc));
close(fd);
|| str[len - 1] != ']'
|| !(inode = strtoul(str, NULL, 10))
|| !print_sockaddr_by_inode(tcp, fd, inode)) {
- print_quoted_string(path, strlen(path),
- QUOTE_OMIT_LEADING_TRAILING_QUOTES);
+ print_quoted_string_ex(path, strlen(path),
+ QUOTE_OMIT_LEADING_TRAILING_QUOTES, ">");
}
tprints(">");
} else