Sergey Poznyakoff
90b1e24487
(decode_options): Ignore --seek if used with --delete.
...
Delete.c is based on the assumption that the archive is being
actually read, not lseeked.
2004-12-18 20:07:04 +00:00
Sergey Poznyakoff
e6a67c2eb5
(delete_archive_members): Bugfix: when
...
attempting to delete an unexisting member, the last
blocking_factor blocks were zeroed.
2004-12-17 16:10:36 +00:00
Sergey Poznyakoff
322114744f
(tar_checksum): New function
2004-11-26 19:09:48 +00:00
Sergey Poznyakoff
b5db978830
(tar_checksum): New function
2004-11-26 19:09:26 +00:00
Sergey Poznyakoff
4674867a23
(hit_eof): Changed type to boolean
...
(read_full_records,reading_from_pipe): New variables
(check_compressed_archive,open_compressed_archive): New functions
(open_archive): Autodetect compressed archives and act accodingly.
Set reading_from_pipe. This fixes contraversial set of changes
introduced 2004-05-11,2004-03-22.
2004-11-26 19:08:58 +00:00
Sergey Poznyakoff
b2a65edf5c
Fixed -o semantics. Thanks Jean Delvare <khali@linux-fr.org>
2004-11-16 11:02:45 +00:00
Sergey Poznyakoff
8ff11f27c1
Use locale_charset() from gnulib
2004-10-25 15:57:48 +00:00
Sergey Poznyakoff
5dee0c1348
(options): Use OPTION_NO_TRANS
2004-10-25 15:57:29 +00:00
Sergey Poznyakoff
b55daca933
(decode_header): Set uname/gname to NULL if their header counterparts are empty
2004-10-25 15:56:57 +00:00
Sergey Poznyakoff
f218c29b13
(LDADD): Add LIBICONV
2004-10-25 15:56:37 +00:00
Sergey Poznyakoff
06742ec624
New function check_cache_directory(),
...
called from dump_dir0() if exclude_caches_option is set,
to check for a cache directory tag and exclude the directory
if such a tag is found.
2004-10-04 09:27:13 +00:00
Sergey Poznyakoff
5b56886a72
New variable exclude_caches_option.
2004-10-04 09:26:42 +00:00
Sergey Poznyakoff
5db60955f5
New option --exclude-caches, to exclude
...
cache directories automatically on archive creation.
Cache directories are directories containing a
standardized tag file, as specified at:
http://www.brynosaurus.com/cachedir/spec.html
2004-10-04 09:26:25 +00:00
Sergey Poznyakoff
e370518b43
Minor fix
2004-09-16 13:42:22 +00:00
Sergey Poznyakoff
75bf036edc
Normalized use of remove_any_file().
2004-09-12 12:50:31 +00:00
Sergey Poznyakoff
6cf99ce8ae
(parse_opt): Emit warning if -l option is used.
...
(show_default_settings): REMOTE_SHELL may be undefined
2004-09-12 12:50:06 +00:00
Sergey Poznyakoff
ae3238495d
Comment WANT_DIRECTORY_REMOVE_OPTION
2004-09-12 12:49:41 +00:00
Sergey Poznyakoff
cf2fa13bc5
(argp_program_version): Modified.
2004-09-07 18:43:05 +00:00
Sergey Poznyakoff
7347b4f5d5
Started merging with cpio into paxutils.
2004-09-06 14:28:55 +00:00
Sergey Poznyakoff
2e419759d1
(usage): Minor fix
2004-09-02 13:53:30 +00:00
Sergey Poznyakoff
da3f3e0b3b
Install rmt into rmtdir
2004-09-02 13:53:18 +00:00
Sergey Poznyakoff
d14f101217
(register_individual_file,is_individual_file): New functions.
2004-09-01 15:05:28 +00:00
Sergey Poznyakoff
19335cdfb4
(dump_file0): Fix bug introduced 2004-02-21.
2004-09-01 15:05:09 +00:00
Sergey Poznyakoff
4e4e8c57fd
(is_individual_file): New prototype
2004-09-01 15:04:46 +00:00
Sergey Poznyakoff
28efbf6944
(unquote_string): Unquote '\a' and '\v'. Reported by Helmut Waitzmann <helmut.waitzmann@web.de>
2004-08-31 11:49:28 +00:00
Sergey Poznyakoff
678a4411ea
(main): Call set_start_time()
2004-08-31 11:49:03 +00:00
Sergey Poznyakoff
001e5cf813
Fixed initialization of stat_info->is_sparse
2004-08-31 11:48:51 +00:00
Sergey Poznyakoff
fc264a87a8
(set_start_time, removed_prefixes_p): New prototypes.
2004-08-31 11:48:23 +00:00
Sergey Poznyakoff
68bd7ac50a
When computing write rate do not take
...
into account the time needed to verify the archive(s).
The bug reported by John L. Males <jlmales@yahoo.com >
(set_start_time,compute_duration): New functions.
(print_total_written): Use the result of compute_duration().
(close_archive): Call compute_duration.
2004-08-31 11:48:05 +00:00
Sergey Poznyakoff
3f4f5a4bf4
(removed_prefixes_p): New function
2004-08-31 11:47:02 +00:00
Sergey Poznyakoff
e563240b95
(verify_volume): Call set_next_block_after
...
if read_header returns HEADER_FAILURE
Destroy and reinitialize content of current_stat_info and
extended_header after each iteration.
Issue a warning if the archive created contains some members
whose file names were stripped off their leading prefixes.
This is a temporary fix of the issue reported by Bdale Garbee
<bdale@gag.com > (Refs: Debian bug 230064, Message-Id
<87n07kyzhi.fsf@rover.gag.com >, Sun, 15 Feb 2004 11:22:17 -0700)
2004-08-31 11:45:55 +00:00
Sergey Poznyakoff
6522c25b8d
(sparse_add_map): Fixed improper initializations
...
of sparse_map_size. We assume that whatever number it contains
describes adequately the current size of sparse_map. The only
number we need to reset is sparse_map_avail.
2004-08-31 11:45:16 +00:00
Sergey Poznyakoff
b1f2c77860
Fix copy-n-paste errors in the license
2004-08-30 15:16:00 +00:00
Sergey Poznyakoff
bd599facc8
Fixed typo
2004-08-17 16:05:03 +00:00
Paul Eggert
303132dcdc
Adjust to changes to gnulib xalloc module.
...
(extr_init): Remove assignment to xalloc_fail_func; no longer needed.
(xalloc_die): New function.
2004-08-12 18:34:40 +00:00
Sergey Poznyakoff
2d041189aa
(flush_write): Limit filenames
...
of the members that straddle multivolume archive
boundary to 100 characters.
2004-08-10 11:17:16 +00:00
Sergey Poznyakoff
260acce7a3
(read_and): Call decode_header before calling skip_member()
...
(skip_member): Use is_sparse field to determine if the
member is a sparse file.
2004-08-09 11:24:06 +00:00
Sergey Poznyakoff
c50565d965
Improved compatibility with 1.13.25
2004-08-08 14:20:17 +00:00
Paul Eggert
68ff77508c
(purge_directory): Fix format buffer typos in warning strings.
2004-08-07 06:33:59 +00:00
Paul Eggert
43ca8709c0
(parse_opt): FILESYSTEM_PREFIX_LEN -> FILE_SYSTEM_PREFIX_LEN
2004-08-07 06:33:34 +00:00
Paul Eggert
c4e054673b
(excluded_name, safer_name_suffix, stripped_prefix_len):
...
FILESYSTEM_PREFIX_LEN -> FILE_SYSTEM_PREFIX_LEN.
2004-08-07 06:33:07 +00:00
Paul Eggert
df6200e97e
(must_be_dot_or_slash): FILESYSTEM_PREFIX_LEN -> FILE_SYSTEM_PREFIX_LEN.
2004-08-07 06:32:41 +00:00
Paul Eggert
9ae5a981fc
Include <getcwd.h>.
...
(extract_archive): Rewrite with new macro IS_ABSOLUTE_FILE_NAME.
(make_directories):
FILESYSTEM_PREFIX_LEN -> FILE_SYSTEM_PREFIX_LEN.
2004-08-07 06:32:12 +00:00
Paul Eggert
9038410bb7
(valloc): Remove.
2004-08-03 04:45:57 +00:00
Paul Eggert
f3da0c26b8
(quote_n, quote): Remove these redundant functions.
...
(ptr_align): New function, from coreutils/src/system.h.
(page_aligned_alloc): New function.
2004-08-03 04:45:05 +00:00
Paul Eggert
82eff37f6f
(page_aligned_alloc): New decl.
2004-08-03 04:44:39 +00:00
Paul Eggert
6869d0f6b3
(diff_init): Don't use valloc; on older or buggy hosts, you can't
...
free the result. Use page_aligned_alloc instead.
2004-08-03 04:44:13 +00:00
Paul Eggert
81460a0349
(record_buffer): New var.
...
(open_archive): Don't use valloc; on older or buggy hosts, you can't
free the result. Use page_aligned_alloc instead.
Record the pointer to be freed into record_buffer.
(close_archive): Free record_buffer.
2004-08-03 04:43:38 +00:00
Paul Eggert
0a3a9744f7
(extract_archive): Do not report an error
...
when hard-linking X to X when X exists.
2004-07-10 06:13:28 +00:00
Sergey Poznyakoff
f94cf6216b
(gnu_restore): Renamed to purge_directory().
...
Do not attempt to purge the directory if it is on a different
device and one_file_system_option is set.
2004-06-29 10:11:46 +00:00