> tar -xvvf truncates directory names in its output of lines: > drwxr-xr-x Creating directory: <dir> > > whenever <dir> has quote marks or backslash escapes added.
Thanks for reporting. A patch is attached. Regards, Sergey
>From 79138eaef1094eae50d4dfc84bb5007de06d6376 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff <[email protected]> Date: Thu, 17 Nov 2011 10:27:52 +0200 Subject: [PATCH] Fix the "Creating directory:" output * src/list.c (print_for_mkdir): don't use unquoted name length for computing its output width. --- src/list.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/list.c b/src/list.c index cf2de09..7e1319c 100644 --- a/src/list.c +++ b/src/list.c @@ -1357,8 +1357,8 @@ print_for_mkdir (char *dirname, int length, mode_t mode) STRINGIFY_BIGINT (current_block_ordinal (), buf)); } - fprintf (stdlis, "%s %*s %.*s\n", modes, ugswidth + 1 + datewidth, - _("Creating directory:"), length, quotearg (dirname)); + fprintf (stdlis, "%s %*s %s\n", modes, ugswidth + 1 + datewidth, + _("Creating directory:"), quotearg (dirname)); } } -- 1.7.3.2
