Print all-printable-ASCII byte arrays as strings
authorWill Thompson <will.thompson@collabora.co.uk>
Wed, 28 Oct 2009 19:40:38 +0000 (19:40 +0000)
committerWill Thompson <will.thompson@collabora.co.uk>
Wed, 4 Nov 2009 09:27:53 +0000 (09:27 +0000)
commit80f6ebfef5b51290b26b968ae0ceff9b322efd67
tree12938e2deac522ea519af5bb92d971fd37c3e08f
parent4d7968c06f30926a793a305288bd0c2a16bf90dd
Print all-printable-ASCII byte arrays as strings

In practice, ay seems to be used mostly for binary data (in which case,
hex output is fine) or for Unix file paths (because they may be
non-UTF-8) and similar human-readable strings. So let's print the latter
similarly to strings.
tools/dbus-print-message.c