From: Sergey Poznyakoff Date: Thu, 24 Jul 2003 14:48:08 +0000 (+0000) Subject: (print_header): Print trailing slash if X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=commitdiff_plain;h=4f48e61fcf936789bda41bcf4c34dc01c9b9666f (print_header): Print trailing slash if current_trailing_slash was set (extrac03.sh,extrac04.sh tests). --- diff --git a/src/list.c b/src/list.c index 59374ff..0fdcc2e 100644 --- a/src/list.c +++ b/src/list.c @@ -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 {