Skip to content
Snippets Groups Projects
Commit f0f32d07 authored by Simon McVittie's avatar Simon McVittie
Browse files

inspect-library: Add a line-based octal output format


Instead of trying to format JSON using only glibc, this just prints
key=value lines, some of which can be repeated. The values always have
control characters and backslashes escaped as C-style octal sequences
such as \040 for space, similar to the encoding of /etc/fstab. This
allows non-UTF-8 bytestrings to be represented.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 0cdaae1a
No related branches found
No related tags found
1 merge request!279Cope better with non-ASCII library names
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment