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.
This commit is contained in:
Sergey Poznyakoff
2005-04-07 17:25:29 +00:00
parent 62599b5285
commit 2872a5ae81

View File

@@ -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;
}