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
Sergey Poznyakoff
44391cb932
(extr_init): Save the device number
...
of the root device.
(extract_archive): Renamed gnu_restore() to purge_directory().
2004-06-29 10:11:13 +00:00
Sergey Poznyakoff
af15956c4d
(root_device): New global.
...
(gnu_restore): Renamed to purge_directory().
2004-06-29 10:10:26 +00:00
Sergey Poznyakoff
6938706958
The actual default for exclude patterns is --no-anchored. Thanks "Felix Natter" <felix.natter@ldc.de> for noticing.
2004-06-25 10:32:44 +00:00
Sergey Poznyakoff
24aa94e5cf
Fixed docstring for --checkpoint option.
2004-06-22 09:30:32 +00:00
Sergey Poznyakoff
ebdf1bc7a6
Determine type of the archive before appending to it.
2004-05-19 14:27:41 +00:00
Sergey Poznyakoff
ba08e339a6
(struct fmttab): Accept 'pax' as alias
...
for 'posix'
(options): New option -n (--seek).
2004-05-19 14:27:22 +00:00
Sergey Poznyakoff
951b0370df
(skip_file): Use seek_archive() if possible.
2004-05-19 14:26:25 +00:00
Sergey Poznyakoff
167f5ba2bc
(seek_archive): New function
...
(seekable_archive): New global.
2004-05-19 14:25:55 +00:00
Sergey Poznyakoff
488430f739
(seek_archive): New function
2004-05-19 14:25:27 +00:00
Sergey Poznyakoff
b121917368
(safer_name_suffix): Fixed bug intraduced 2004-05-11.
2004-05-19 10:57:25 +00:00
Sergey Poznyakoff
d4d6c23008
New option -H (short alias to --format)
2004-05-19 10:33:26 +00:00
Sergey Poznyakoff
141d267691
Minor formatting fix
2004-05-16 20:56:05 +00:00
Sergey Poznyakoff
463d99453f
Fix improper use of 'path' word
2004-05-16 20:50:55 +00:00
Sergey Poznyakoff
a447fd3714
Use argp for command line parsing.
2004-05-16 20:47:47 +00:00
Sergey Poznyakoff
a65779d558
Renamed strip_path_option to strip_components_option
2004-05-13 08:24:32 +00:00
Sergey Poznyakoff
5608be67f7
Renamed --strip-path to --strip-components
...
Changed improper use of _() to ngettext().
2004-05-13 08:22:28 +00:00
Sergey Poznyakoff
48c24ac711
(decode_options): Fixed typo in the comment.
2004-05-11 14:24:23 +00:00
Sergey Poznyakoff
3e8f210904
(open_archive): Removed assignment to read_full_records_option.
2004-05-11 14:23:25 +00:00
Sergey Poznyakoff
ee56bd0d0b
(sys_child_open_for_uncompress): Do not
...
set read_full_records_option: the compressed archive is
likely not to contain integer number of records. Should
the user wish to use reblocking, he may always give tar
-B option. This is a minor improvement over the change
dated 2004-03-22.
2004-05-11 14:17:28 +00:00
Sergey Poznyakoff
ecb338ad8e
(safer_name_suffix): (safer_name_suffix): Use "%s"
...
as the format argument, rather than a possibly-translated variable
string. Patch provided by Jim Meyering <jim@meyering.net >
2004-05-11 14:12:39 +00:00
Sergey Poznyakoff
be8899e6aa
Fixed prerequisite headers for sys/buf.h (needed on FreeBSD)
2004-05-10 13:47:52 +00:00
Sergey Poznyakoff
33715a50a3
New option --rmt-command.
...
(decode_options): Handle --rmt-command. Initialize
rmt_command_option to DEFAULT_RMT_COMMAND.
2004-05-10 11:42:23 +00:00
Sergey Poznyakoff
3be53a3c2f
Use rmt_command_option instead of hardcoded "/etc/rmt".
2004-05-10 11:41:43 +00:00