(print_header): Print trailing slash if

current_trailing_slash was set (extrac03.sh,extrac04.sh tests).
This commit is contained in:
Sergey Poznyakoff
2003-07-24 14:48:08 +00:00
parent eb66edaa9f
commit 4f48e61fcf

View File

@@ -925,7 +925,10 @@ print_header (off_t block_ordinal)
if (verbose_option <= 1)
{
/* Just the fax, mam. */
fprintf (stdlis, "%s\n", quotearg (current_file_name));
fprintf (stdlis, "%s", quotearg (current_file_name));
if (current_trailing_slash)
fprintf (stdlis, "/");
fprintf (stdlis, "\n");
}
else
{