[PATCH v2 1/2] xattr: use printstr_ex instead of print_quoted_string
Dmitry V. Levin
ldv at altlinux.org
Thu Dec 22 23:41:21 UTC 2016
Hi,
On Thu, Dec 22, 2016 at 04:10:51PM +0100, Gabriel Laskar wrote:
> This fixes the display when using `-s` to limit the string size of the
> values displayed by {get,set}xattr.
>
> * xattr.c (print_xattr_val): use printstr_ex instead of
> print_quoted_string
>
> Reported-by: Марк Коренберг <socketpair at gmail.com>
> Signed-off-by: Gabriel Laskar <gabriel at lse.epita.fr>
On Thu, Dec 22, 2016 at 04:10:52PM +0100, Gabriel Laskar wrote:
> * tests/xattr-strings.c: New file.
> * tests/xattr-strings.test: New test.
> * tests/.gitignore: Add xattr-string.
> * tests/Makefile.am (check_PROGRAMS): Likewise.
> (DECODER_TESTS): Add xattr-string.test.
>
> Signed-off-by: Gabriel Laskar <gabriel at lse.epita.fr>
Applied, thanks!
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20161223/7e05d564/attachment.bin>
More information about the Strace-devel
mailing list