浏览代码

*** empty log message ***

François Pinard 30 年之前
父节点
当前提交
a2aa567aec
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/buffer.c

+ 2 - 1
src/buffer.c

@@ -1,5 +1,5 @@
 /* Buffer management for tar.
-   Copyright (C) 1988, 1992 Free Software Foundation
+   Copyright (C) 1988, 1992, 1993 Free Software Foundation
 
 This file is part of GNU Tar.
 
@@ -697,6 +697,7 @@ open_archive (reading)
 	sprintf (ar_block->header.arch_name, "%s Volume 1", f_volhdr);
       else
 	strcpy (ar_block->header.arch_name, f_volhdr);
+      current_file_name = ar_block->header.arch_name;
       ar_block->header.linkflag = LF_VOLHDR;
       to_oct (time (0), 1 + 12, ar_block->header.mtime);
       finish_header (ar_block);