From 4f48e61fcf936789bda41bcf4c34dc01c9b9666f Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 24 Jul 2003 14:48:08 +0000 Subject: [PATCH] (print_header): Print trailing slash if current_trailing_slash was set (extrac03.sh,extrac04.sh tests). --- src/list.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 { -- 2.45.2