From: Sergey Poznyakoff Date: Thu, 7 Apr 2005 17:25:29 +0000 (+0000) Subject: Minor fixes to text messages. Proposed by Benno Schulenberg. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=2872a5ae81252fde90795b914b6088485abd7ab0;p=chaz%2Ftar Minor fixes to text messages. Proposed by Benno Schulenberg. (extract_file): Assign orig_file_name to save_name uniformly over the program. This fixes matching directory names at the start of an archive volume. --- diff --git a/src/extract.c b/src/extract.c index e8f8f1f..2247de9 100644 --- a/src/extract.c +++ b/src/extract.c @@ -713,7 +713,7 @@ extract_file (char *file_name, int typeflag) { if (multi_volume_option) { - assign_string (&save_name, current_stat_info.file_name); + assign_string (&save_name, current_stat_info.orig_file_name); save_totsize = current_stat_info.stat.st_size; save_sizeleft = size; } @@ -1072,7 +1072,7 @@ prepare_to_extract (char const *file_name, int typeflag, tar_extractor_t *fun) default: WARN ((0, 0, - _("%s: Unknown file type '%c', extracted as normal file"), + _("%s: Unknown file type `%c', extracted as normal file"), quotearg_colon (file_name), typeflag)); *fun = extract_file; }