Commit Graph
1954 Commits
Author SHA1 Message Date
Sergey Poznyakoff 8b471d55ff Rewritten handling of member names in the command
line. Tar no longer attempts to guess globbing patterns, instead
it relies on --wildcard option.
(init_names): Removed.
(struct name_elt): New structure.
(name_array): Change type to struct name_elt. All references updated
(name_add_name,name_add_dir): New functions
(name_next_elt): New function
(name_next): Rewritten using name_next_elt.
(namelist_match): Rewritten pattern matching using
exclude_fnmatch.
(names_notfound): Warn if globbing patterns were used without
--wildcards option
2006-05-25 07:04:53 +00:00
Sergey Poznyakoff c2c2df6c93 (dump_file,dump_file0): First argument is const char*. All callers updated. 2006-05-25 07:04:15 +00:00
Sergey Poznyakoff cf857388c1 (struct name): Refactured
(warn_regex_usage): New variable.
(dump_file): First argument is const char*.
(name_init,name_add): Removed
(name_add_name,name_add_dir): New functions
(name_next): Return const char*.
2006-05-25 07:03:57 +00:00
Sergey Poznyakoff 9dfad74683 (AM_INIT_AUTOMAKE): Use tar-ustar option. Raise version requirement to 1.9 2006-05-25 07:03:30 +00:00
Sergey Poznyakoff 57267f7ed9 Update 2006-05-25 07:02:59 +00:00
Sergey Poznyakoff 476abe556b Update 2006-05-23 07:10:55 +00:00
Sergey Poznyakoff fe72c79ad8 (change_tape_menu): Fix typo (uninitialized variable) introduced yesterday. 2006-05-23 07:10:34 +00:00
Sergey Poznyakoff 8fea578b22 Update 2006-05-22 10:02:32 +00:00
Sergey Poznyakoff a46704b1bf (change_tape_menu): Break the loop after obtaining new archive name. Check for empty input line 2006-05-22 10:02:23 +00:00
Sergey Poznyakoff 6f8cbc5ca8 Use @var{file_name} instead of @var{file name} 2006-05-22 10:01:34 +00:00
Sergey Poznyakoff c03131aba9 Update 2006-05-15 09:52:29 +00:00
Sergey Poznyakoff c9195c75be (AT_TAR_CHECK): Declare expected failure if $XFAILFILE exists. 2006-05-15 09:52:16 +00:00
Sergey Poznyakoff 5632d195f5 Create $XFAILFILE on failure 2006-05-15 09:52:03 +00:00
Sergey Poznyakoff ef90e05363 (XFAILFILE): New variable 2006-05-15 09:51:53 +00:00
Sergey Poznyakoff 939d63b92d Update 2006-05-13 14:03:46 +00:00
Sergey Poznyakoff 0ff13351f0 Update 2006-05-13 14:01:26 +00:00
Sergey Poznyakoff c57418b462 New file 2006-05-13 14:01:13 +00:00
Sergey Poznyakoff 3c7dd57a17 Update 2006-05-13 13:58:59 +00:00
Sergey Poznyakoff 0b3fe146dd Update 2006-05-13 12:16:09 +00:00
Sergey Poznyakoff 90088ff00d Update 2006-05-13 12:02:58 +00:00
Sergey Poznyakoff a183d6f7f5 Update 2006-05-13 12:00:06 +00:00
Sergey Poznyakoff 4883aab47d (AT_STAR_PREREQ): Provide md5 sum. 2006-05-13 11:59:51 +00:00
Sergey Poznyakoff 30873dbd97 Add keywords. 2006-05-13 11:59:36 +00:00
Sergey Poznyakoff 74849d8119 (AT_TARBALL_PREREQ): New defun
(AT_STAR_PREREQ): Rewrite using tarball_prereq
Include chtype.at and volsize.at
2006-05-13 11:59:08 +00:00
Sergey Poznyakoff 3962eb6a3e (TEST_DATA_URL,STAR_DATA_URL)
(STAR_TESTSCRIPTS): Provide default values.
(tarball_prereq): New function
2006-05-13 11:58:41 +00:00
Sergey Poznyakoff c99076e925 (TESTSUITE_AT): Add chtype.at, volsize.at
(check-full): New target
2006-05-13 11:58:16 +00:00
Sergey Poznyakoff 6315d1700b (read_header_primitive): New function
(read_header): Front end for read_header_primitive
2006-05-13 11:57:52 +00:00
Sergey Poznyakoff 520104f5f8 (extract_volhdr): New function
(prepare_to_extract): Use extract_volhdr as extractor for volume
names.
2006-05-13 11:57:36 +00:00
Sergey Poznyakoff 34e5f66589 (read_header_primitive): New function 2006-05-13 11:57:20 +00:00
Sergey Poznyakoff d2b3114a3b (read_header0): Use read_header_primitive to avoid clubbering current_tar_info. All callers updated. 2006-05-13 11:57:06 +00:00
Sergey Poznyakoff 2b27e8de1f Update 2006-05-13 11:56:51 +00:00
Sergey Poznyakoff a85cfd69e3 (find_directory_meta): Bugfix 2006-05-13 08:38:12 +00:00
Sergey Poznyakoff 4b951034f3 Update 2006-05-08 12:48:27 +00:00
Sergey Poznyakoff 1524831224 Call AT_SORT_PREREQ. Remove fd 2 redirection after sort invocations 2006-05-08 12:46:41 +00:00
Sergey Poznyakoff ee6f14194d Call AT_UNPRIVILEGED_PREREQ 2006-05-08 12:46:16 +00:00
Sergey Poznyakoff ac7f4e853d (AT_SORT_PREREQ, AT_UNPRIVILEGED_PREREQ): New defines 2006-05-08 12:46:01 +00:00
Sergey Poznyakoff 47dd75e87b Update 2006-05-08 12:12:45 +00:00
Sergey Poznyakoff 6054b5e9d5 (AT_KEYWORDS): Add missing incremental kw 2006-05-08 12:12:09 +00:00
Sergey Poznyakoff edd6df370d Update for the new behavior 2006-05-08 12:11:53 +00:00
Sergey Poznyakoff fd89d5a3cd Add incr03.at,rename01.at,rename02.at,rename03.at 2006-05-08 12:11:43 +00:00
Sergey Poznyakoff 71f2e412ae New testcase 2006-05-08 12:11:26 +00:00
Sergey Poznyakoff 67877f7de2 (collect_and_sort_names): Update dir_contents of the first non-fake name entry when in listed incremental mode. 2006-05-08 12:10:36 +00:00
Sergey Poznyakoff c9e7465642 (struct directory.contents, flags): New members
(nfs,found,new): Remove. Replaced by appropriate bitmask values in
`flags' field. All uses updated.
(directory_meta_table): New table.
(hash_directory): Rename to hash_directory_name
(compare_directories): Rename to compare_directory_names
(hash_directory_meta,compare_directory_meta,find_directory_meta):
New functions
(compare_dirents): Removed
(note_directory): Get 7th argument: directory contents.
All callers updated
(dumpdir_locate,makedumpdir): New functions
(scan_directory): Rewritten. Use makedumpdir to create a sorted
dumpdir array. This makes the obstack argument unnecessary. Besides,
ALL_CHILDREN flag is set only for new directories.
(procdir): Change return type to struct directory. Return
immediately if the directory was already initialized. Discover
directory renames using directory_meta_table.
(append_incremental_renames): New function.
(read_directory_file, write_directory_file): Use new snapshot file
format.
2006-05-08 12:10:14 +00:00
Sergey Poznyakoff a0b4431f26 (rename_directory): New function 2006-05-08 12:09:46 +00:00
Sergey Poznyakoff 192ac7136a (rename_directory,append_incremental_renames): New functions. 2006-05-08 12:09:35 +00:00
Sergey Poznyakoff c2775aedf1 Raise version number to 1.15.91 2006-05-08 12:09:15 +00:00
Sergey Poznyakoff f1fe157dfe Update 2006-05-08 12:09:07 +00:00
Sergey Poznyakoff dd197c5ccb Update alpha_1_15_90_incremental_1 2006-05-02 19:16:23 +00:00
Sergey Poznyakoff c576ac1354 Always use genfile --file, this enables extra error checking. 2006-05-02 19:16:12 +00:00
Sergey Poznyakoff 53d1279719 Attempt to extract a member with truncated file name from the archive. 2006-05-02 19:15:50 +00:00