8b471d55ffRewritten 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
Sergey Poznyakoff
2006-05-25 07:04:53 +00:00
c2c2df6c93(dump_file,dump_file0): First argument is const char*. All callers updated.
Sergey Poznyakoff
2006-05-25 07:04:15 +00:00
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*.
Sergey Poznyakoff
2006-05-25 07:03:57 +00:00
9dfad74683(AM_INIT_AUTOMAKE): Use tar-ustar option. Raise version requirement to 1.9
Sergey Poznyakoff
2006-05-25 07:03:30 +00:00
74849d8119(AT_TARBALL_PREREQ): New defun (AT_STAR_PREREQ): Rewrite using tarball_prereq Include chtype.at and volsize.at
Sergey Poznyakoff
2006-05-13 11:59:08 +00:00
3962eb6a3e(TEST_DATA_URL,STAR_DATA_URL) (STAR_TESTSCRIPTS): Provide default values. (tarball_prereq): New function
Sergey Poznyakoff
2006-05-13 11:58:41 +00:00
6315d1700b(read_header_primitive): New function (read_header): Front end for read_header_primitive
Sergey Poznyakoff
2006-05-13 11:57:52 +00:00
520104f5f8(extract_volhdr): New function (prepare_to_extract): Use extract_volhdr as extractor for volume names.
Sergey Poznyakoff
2006-05-13 11:57:36 +00:00
34e5f66589(read_header_primitive): New function
Sergey Poznyakoff
2006-05-13 11:57:20 +00:00
d2b3114a3b(read_header0): Use read_header_primitive to avoid clubbering current_tar_info. All callers updated.
Sergey Poznyakoff
2006-05-13 11:57:06 +00:00
67877f7de2(collect_and_sort_names): Update dir_contents of the first non-fake name entry when in listed incremental mode.
Sergey Poznyakoff
2006-05-08 12:10:36 +00:00
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.
Sergey Poznyakoff
2006-05-08 12:10:14 +00:00
a0b4431f26(rename_directory): New function
Sergey Poznyakoff
2006-05-08 12:09:46 +00:00
192ac7136a(rename_directory,append_incremental_renames): New functions.
Sergey Poznyakoff
2006-05-08 12:09:35 +00:00
c2775aedf1Raise version number to 1.15.91
Sergey Poznyakoff
2006-05-08 12:09:15 +00:00
c576ac1354Always use genfile --file, this enables extra error checking.
Sergey Poznyakoff
2006-05-02 19:16:12 +00:00
53d1279719Attempt to extract a member with truncated file name from the archive.
Sergey Poznyakoff
2006-05-02 19:15:50 +00:00
729b91adb1(try_new_volume): Attempt to continue if the name is apparently truncated in a GNU format volume.
Sergey Poznyakoff
2006-05-02 19:15:35 +00:00
f97d80335a(directory.new): New member (note_directory,find_directory: Use make_directory to create struct directory entries (procdir): Avoid duplicating directories in the incremental backup map.
Sergey Poznyakoff
2006-04-11 12:00:23 +00:00
8300c820d5(extract_dir): Fix toggling existing directory permissions. Use parts of patch provided by Ian Jackson <iwj@ubuntu.com>.
Sergey Poznyakoff
2006-04-11 11:59:40 +00:00
e0b3fc61e1* tests/atlocal.in (PATH): Add build-aux from the source tree, not the build tree.
Paul Eggert
2006-03-19 04:04:54 +00:00
b8d5835375Sort the two lines of stderr from the first `tar -v --listed-incremental'. They would come out reversed and provoke a test failure on a tmpfs file system.
Sergey Poznyakoff
2006-03-13 09:43:37 +00:00
61dd37ec86(options): Consistently begin help messages with a lowercase letter.
Sergey Poznyakoff
2006-03-13 09:42:55 +00:00
db0f0804f5Remove unistd_.h from lib/.cvsignore.
Paul Eggert
2006-03-08 02:00:47 +00:00
18486cf8d7* src/buffer.c (record_buffer_aligned): New var. (init_buffer): Use it to ensure that the buffer is aligned. This doesn't result in any measurable performance improvement on my host (Debian GNU/Linux 3.1 stable, with default block size), but I assume it does help on some hosts.
Paul Eggert
2006-03-08 00:55:56 +00:00
6c1020d386* lib/.cvsignore: Add unistd_.h. Sort.
Paul Eggert
2006-03-08 00:23:34 +00:00
92554b7c94* tests/multiv04.at (split directory members in a MV archive): Don't use %X in an awk printf format; this doesn't work with Solaris 10 /usr/bin/awk. Use %x instead.
Paul Eggert
2006-02-21 05:55:28 +00:00
631de61428Fix copyright years
Sergey Poznyakoff
2006-02-20 10:01:47 +00:00
8bfefd8854Uniformly start all test titles with a lower case letter
Sergey Poznyakoff
2006-02-20 10:00:48 +00:00
b6ffcac4db(AT_TAR_MKHIER): New macro (lustar01.at,lustar02.at,lustar03.at): New tests.
Sergey Poznyakoff
2006-02-20 09:43:00 +00:00
28698a5334Reword test title
Sergey Poznyakoff
2006-02-20 09:42:28 +00:00
e304b58fffRemove mkhier, use AT_TAR_MKHIER instead
Sergey Poznyakoff
2006-02-20 09:42:08 +00:00
c532f12464Add build-aux to the PATH
Sergey Poznyakoff
2006-02-20 09:41:56 +00:00
9fdd5baa0c(lustar01.at,lustar02.at,lustar03.at): New tests.
Sergey Poznyakoff
2006-02-20 09:41:43 +00:00
31ef7e3afb(split_long_name): Fix maximum length estimation. Patch by Jim Lowe.
Sergey Poznyakoff
2006-02-20 09:41:29 +00:00
f2bf9f2ffaAvoid installation glitches on Solaris 8 with Sun C 5.4. * lib/.cvsignore: Add system-ioctl.h. * lib/Makefile.tmpl (noinst_HEADERS): Add system-ioctl.h. * src/buffer.c: Include system-ioctl.h. * src/compare.c: Likewise. * src/delete.c: Likewise. * src/system.c: Include <getline.h>, <setenv.h>. * src/tar.c: Include <getline.h>.
Paul Eggert
2006-02-20 08:15:31 +00:00
cad45a0bae* bootstrap: Don't claim lib/Makefile.am is generated automatically from itself.
Paul Eggert
2006-02-20 08:14:21 +00:00
780cf6f079(tar_set_quoting_style): Provide second argument to the format spec: program_invocation_short_name. Reported by Jim Meyering.
Sergey Poznyakoff
2006-02-08 21:34:15 +00:00