From 2b861845e99174b3883fbf300f34cbf49f8eae69 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 4 Apr 2004 09:48:45 +0000 Subject: [PATCH] Updated --- ChangeLog | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/ChangeLog b/ChangeLog index 446d689..4dca300 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,45 @@ +2004-04-04 Sergey Poznyakoff + + * tests/sparse01.sh: New file + * tests/multiv02.sh: New file + * tests/Makefile.am: Add sparse01.sh + + * src/common.h: Added missing prototypes + * src/compare.c (diff_archive): Use is_sparse member + instead of GNUTYPE_SPARSE. + * src/create.c: Removed unused variables + * src/extract.c (extract_archive): Use sparse_member_p instead + of GNUTYPE_SPARSE. + Removed unused variables + * src/list.c (decode_header): Use sparse_fixup_header to correct + the st_size value. + (print_header): Do not rely on GNUTYPE_SPARSE type. + Use st->stat.st_size to print real file size. + (skip_member): Assign stat_info.file_name to save_name. This fixes + bug reported by Mads Martin Joergensen + Use sparse_skip_file() to skip sparse members. + * src/rtapelib.c: include "common.h" + * src/sparse.c (struct tar_sparse_optab.sparse_member_p) + (struct tar_sparse_optab.fixup_header): New member + (tar_sparse_member_p): New function. + (tar_sparse_init): Return true if decode_header is not provided + (tar_sparse_fixup_header) + (sparse_member_p,sparse_fixup_header) + (sparse_skip_file) + (oldgnu_sparse_member_p,oldgnu_fixup_header,star_sparse_member_p) + (star_fixup_header, pax_sparse_member_p): New function + (pax_decode_header): Remove + * src/system.h: Include and when available + * src/tar.c (usage): Prototype moved to common.h + * src/tar.h (struct tar_stat_info.is_sparse): New member + * src/utf8.c (utf8_convert): Changed prototype + (get_input_charset): Removed unused variable + * src/xheader.c: include + (size_decoder): Assign to both st->archive_file_size and + st->stat.st_size. + (st->stat.st_size): Assign to st->stat.st_size + (sparse_numbytes_decoder): Removed unused variable + 2004-03-26 Sergey Poznyakoff * src/create.c (write_long_name): Do not allow more than -- 2.45.2