zfsonlinux/zfs — pull request #1206 by dajhorn (2013-01-15 06:04:49+00:00)
Title: Ensure that zfs diff prints unicode safely.

In the stream_bytes() library function used by `zfs diff`, explicitly
cast each byte in the input string to an unsigned character so that the
Linux fprintf() correctly escapes to octal and does not mangle the output.

Closes: #1172