浏览代码

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.

Sergey Poznyakoff 20 年之前
父节点
当前提交
2872a5ae81
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/extract.c

+ 2 - 2
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;
     }