61f44c9361(usage): Prototype moved to common.h
Sergey Poznyakoff
2004-04-04 09:41:16 +00:00
55a96565b5Include <sys/time.h> and <utime.h> when available
Sergey Poznyakoff
2004-04-04 09:33:41 +00:00
15a607fc11(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
Sergey Poznyakoff
2004-04-04 09:33:25 +00:00
3ff03c0c5e(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 <mmj@suse.de> Use sparse_skip_file() to skip sparse members.
Sergey Poznyakoff
2004-04-04 09:31:44 +00:00
3030a247b1(extract_archive): Use sparse_member_p instead of GNUTYPE_SPARSE.
Sergey Poznyakoff
2004-04-04 09:26:11 +00:00
d8981440bb(write_long_name): Do not allow more than NAME_FIELD_SIZE-1 characters in a file name for V7 format archives.
Sergey Poznyakoff
2004-03-26 19:39:40 +00:00
f7dbd14d57Updated to match the recent changes
Sergey Poznyakoff
2004-03-22 12:00:12 +00:00
106a24176e(open_archive): Clear read_full_records_option if reading from a pipe. (short_read): Display warning about the deduced record size if version > 1
Sergey Poznyakoff
2004-03-22 11:59:35 +00:00
683390b02d(read_and): Stop processing the archive after encountering a single zero record. Many old archives contain arbitrary garbage after it. The warning is issued anyway.
Sergey Poznyakoff
2004-03-12 10:38:46 +00:00
b38e4b4520Added Leland Lucius
Sergey Poznyakoff
2004-03-02 09:34:44 +00:00
9f14fd52de(rmt_lseek__,rmt_ioctl__): Bugfix. The conversion buffer was not null terminated. Fix provided by Leland Lucius <llucius@tiny.net>
Sergey Poznyakoff
2004-03-02 09:34:06 +00:00
d8b790047f(decode_header): Call xheader_decode before the assignment to current_stat_info.archive_file_size.
Sergey Poznyakoff
2004-02-24 15:27:54 +00:00
fb9a7d180fInvoke AM_ICONV, to define ICONV_CONST if needed.
Paul Eggert
2004-02-23 22:31:20 +00:00
9e0d059205Use prereq() instead of passing arguments to 'before'.
Sergey Poznyakoff
2004-02-23 10:05:42 +00:00
97b9e3d31cMove testing of the prerequisite archive formats to the separate function 'prereq'. Do not expect any arguments
Sergey Poznyakoff
2004-02-23 10:05:22 +00:00
a00631babfGive credit to Andreas Schuldei.
Sergey Poznyakoff
2004-02-22 20:55:12 +00:00
b8754a37c7Use keywords from the global headers. Correctly handle UTF-8 conversions. (xheader_list_destroy): New function. (xheader_set_single_keyword,xheader_set_keyword_equal): Added missing gettext markers (decode_record): Rewritten using caller-provided handler and data closure.
Sergey Poznyakoff
2004-02-22 20:54:44 +00:00
fb766eefb4Decode encountered global headers.
Sergey Poznyakoff
2004-02-22 20:54:04 +00:00
b1f33c8362(write_header_name) In pax format, use "path" keyword if the file name is not ASCII
Sergey Poznyakoff
2004-02-22 20:53:27 +00:00
b960c38c4b(dump_file0): The conditional at line 1296 prevented incremental backups on individual files from working, as reported by Andreas Schuldei <andreas@schuldei.org>.
Sergey Poznyakoff
2004-02-21 09:33:58 +00:00
c487595864Require gnu or oldgnu format
Sergey Poznyakoff
2004-02-20 15:36:18 +00:00
29e59e07b1Require gnu, oldgnu or posix format
Sergey Poznyakoff
2004-02-20 15:35:30 +00:00
74d29bc5deAccept an optional list of allowed archive formats. Exit with the status 77 if the current archive format does not match any of them.
Sergey Poznyakoff
2004-02-20 15:35:19 +00:00
069c0d99aeDocument new default for extended header names.
Sergey Poznyakoff
2004-02-20 15:34:37 +00:00
f038194718(xheader_format_name): Bugfix. (xheader_xhdr_name): Changed the default extended header name to '%d/PaxHeaders.%p/%f', as POSIX requires. (xheader_ghdr_name): Removed unused argument. (xheader_write,xheader_write_global): New function. (xheader_decode): Modified to honor overrides whatever the current archive format is.
Sergey Poznyakoff
2004-02-20 15:34:12 +00:00
eff25ef359(update_archive): Write global extended header if constructed.
Sergey Poznyakoff
2004-02-20 15:33:12 +00:00
b3060eabaf(assert_format): Do not bail out if several --format arguments are given. This is a common case when TAR_OPTIONS are used. (decode_options): New option --show-defaults displays the compiled-in defaults.
Sergey Poznyakoff
2004-02-20 15:32:56 +00:00
93a4273b66(start_private_header): Removed static qualifier. (write_extended): Removed superfluous last argument. Use xheader_write() (simple_finish_header): New function. (finish_header): Use simple_finish_header() to break recursive dependency between this function and write_extended().
Sergey Poznyakoff
2004-02-20 15:32:12 +00:00