ca2f855c90
(pax_dump_header): Store original sparse file name in GNU.sparse.name variable. The name field in the ustar header now contains generated name (%d/GNUSparseFile.%p/%f), so that non-pax-aware tars won't extract the file under the original filename.
Sergey Poznyakoff
2006-06-20 15:14:47 +00:00
693134a4e7
(name_next_elt): Call register_individual_file (namelist_match): Remove third argument (name_match): Change return type to bool (name_scan): Remove second argument
Sergey Poznyakoff
2006-06-20 15:14:19 +00:00
90cec95580
(maybe_backup_file): Second argument is bool
Sergey Poznyakoff
2006-06-20 15:14:00 +00:00
b6fcb4ba8f
(procdir): Use is_individual_file to check for files explicitely specified in the command line. Fixes bug reported by Dat Head on 19 Jun 2006 (descending into mountpoints with --one-file-system in use)
Sergey Poznyakoff
2006-06-20 15:13:49 +00:00
6d1e9ab67e
Remove second argument from calls to name_scan
Sergey Poznyakoff
2006-06-20 15:13:30 +00:00
300210aa15
(struct name.explicit): Remove Use variable names in all declarations (name_scan): Remove second argument
Sergey Poznyakoff
2006-06-20 15:13:20 +00:00
64041696c9
(xopindex,opsummary): New macros
Sergey Poznyakoff
2006-06-13 13:35:34 +00:00
8ee09b9939
Define op as codeindex. Use xopindex and opsummary to populate it Consequently prefer @dfn{long options} over @dfn{mnemonic options}. Document --unquote, --no-unquote (Short Option Summary): Build a table of cross-references to the corresponding long options.
Sergey Poznyakoff
2006-06-13 13:35:14 +00:00
72f60f9e5f
(FIXME) [!PROOF_FOOTNOTED]: Enclose in a cartouche
Sergey Poznyakoff
2006-06-13 13:34:32 +00:00
378818cb3e
(check-options): Expand macros before grepping in $(info_TEXINFOS)
Sergey Poznyakoff
2006-06-13 13:34:14 +00:00
1e3568d947
(options, parse_opt): Allow for optional argument to the --totals option, which specifies a signal upon delivery of which the statistics must be output. (main): Call print_total_stats if total_option is set.
Sergey Poznyakoff
2006-06-12 13:20:10 +00:00
b229a86dd7
(check_time): Use volume_start_time when checking for the timestamp plausability.
Sergey Poznyakoff
2006-06-12 13:19:43 +00:00
05b250d4a4
(records_skipped): Remove static qualifier, the variable is used by print_total_stats in buffer.c
Sergey Poznyakoff
2006-06-12 13:19:16 +00:00
42d180b24e
(volume_start_time,last_stat_time): New globals (print_total_written): Replaced with: (print_total_stats): New function
Sergey Poznyakoff
2006-06-12 13:18:59 +00:00
8c10111c66
(total_blocks_deleted): New variable (set_start_time): Set volume_start_time and last_stat_time as well (set_volume_start_time): New function (compute_duration): Do not call set_start_time, update last_stat_time instead. Use it in calculation instead of start_time, which is now set only once, upon startup. (print_total_written): Removed. (print_total_stats): New function for printing byte/speed statistics. (_open_archive): Detect attempts to update compressed archives. (_gnu_flush_write): Always update prev_written. (open_archive): Call set_volume_start_time.
Sergey Poznyakoff
2006-06-12 13:18:26 +00:00
5e14ef32c0
Minor fixes.
Sergey Poznyakoff
2006-06-08 22:35:52 +00:00
f9bd340c1b
--checkpoint takes an optional argument specifying number of records between two successive checkpoints (proposed by Jason Armistead on 2004-06-22).Optional dot starting the argument means "print dots instead of textual checkpoints". (tar_help): New function
Sergey Poznyakoff
2006-06-08 22:35:39 +00:00
46defea70e
(checkpoint_option): Change type to unsigned (checkpoint_style): New variable.
Sergey Poznyakoff
2006-06-08 22:34:56 +00:00
c58063c17a
New option --transform New option --show-transformed-names generalizes --show-stored-names. The latter is retained as an alias.
Sergey Poznyakoff
2006-06-02 08:06:46 +00:00
75f37f4cef
Make AT_SETUP more readable.
Sergey Poznyakoff
2006-05-25 07:05:41 +00:00
3947e63c25
(options): Move globbing-related options into a separate group. Set -l as an alias to --check-links, as required by UNIX98 (struct tar_args): New fields wildcards,matching_flags,include_anchored (MAKE_EXCL_OPTIONS,MAKE_INCL_OPTIONS): New macros (parse_opt): Use x2nrealloc to grow archive_name_array. Use MAKE_EXCL_OPTIONS,MAKE_INCL_OPTIONS to create appropriate fnmatch options, and name_add_name,name_add_dir to handle member name and -C arguments. (decode_options): Likewise (main): Remove call to init_names.
Sergey Poznyakoff
2006-05-25 07:05:28 +00:00