Commit Graph

  • 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 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
  • 57267f7ed9 Update Sergey Poznyakoff 2006-05-25 07:02:59 +00:00
  • 476abe556b Update Sergey Poznyakoff 2006-05-23 07:10:55 +00:00
  • fe72c79ad8 (change_tape_menu): Fix typo (uninitialized variable) introduced yesterday. Sergey Poznyakoff 2006-05-23 07:10:34 +00:00
  • 8fea578b22 Update Sergey Poznyakoff 2006-05-22 10:02:32 +00:00
  • a46704b1bf (change_tape_menu): Break the loop after obtaining new archive name. Check for empty input line Sergey Poznyakoff 2006-05-22 10:02:23 +00:00
  • 6f8cbc5ca8 Use @var{file_name} instead of @var{file name} Sergey Poznyakoff 2006-05-22 10:01:34 +00:00
  • c03131aba9 Update Sergey Poznyakoff 2006-05-15 09:52:29 +00:00
  • c9195c75be (AT_TAR_CHECK): Declare expected failure if $XFAILFILE exists. Sergey Poznyakoff 2006-05-15 09:52:16 +00:00
  • 5632d195f5 Create $XFAILFILE on failure Sergey Poznyakoff 2006-05-15 09:52:03 +00:00
  • ef90e05363 (XFAILFILE): New variable Sergey Poznyakoff 2006-05-15 09:51:53 +00:00
  • 939d63b92d Update Sergey Poznyakoff 2006-05-13 14:03:46 +00:00
  • 0ff13351f0 Update Sergey Poznyakoff 2006-05-13 14:01:26 +00:00
  • c57418b462 New file Sergey Poznyakoff 2006-05-13 14:01:13 +00:00
  • 3c7dd57a17 Update Sergey Poznyakoff 2006-05-13 13:58:59 +00:00
  • 0b3fe146dd Update Sergey Poznyakoff 2006-05-13 12:16:09 +00:00
  • 90088ff00d Update Sergey Poznyakoff 2006-05-13 12:02:58 +00:00
  • a183d6f7f5 Update Sergey Poznyakoff 2006-05-13 12:00:06 +00:00
  • 4883aab47d (AT_STAR_PREREQ): Provide md5 sum. Sergey Poznyakoff 2006-05-13 11:59:51 +00:00
  • 30873dbd97 Add keywords. Sergey Poznyakoff 2006-05-13 11:59:36 +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
  • c99076e925 (TESTSUITE_AT): Add chtype.at, volsize.at (check-full): New target Sergey Poznyakoff 2006-05-13 11:58:16 +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
  • 2b27e8de1f Update Sergey Poznyakoff 2006-05-13 11:56:51 +00:00
  • a85cfd69e3 (find_directory_meta): Bugfix Sergey Poznyakoff 2006-05-13 08:38:12 +00:00
  • 4b951034f3 Update Sergey Poznyakoff 2006-05-08 12:48:27 +00:00
  • 1524831224 Call AT_SORT_PREREQ. Remove fd 2 redirection after sort invocations Sergey Poznyakoff 2006-05-08 12:46:41 +00:00
  • ee6f14194d Call AT_UNPRIVILEGED_PREREQ Sergey Poznyakoff 2006-05-08 12:46:16 +00:00
  • ac7f4e853d (AT_SORT_PREREQ, AT_UNPRIVILEGED_PREREQ): New defines Sergey Poznyakoff 2006-05-08 12:46:01 +00:00
  • 47dd75e87b Update Sergey Poznyakoff 2006-05-08 12:12:45 +00:00
  • 6054b5e9d5 (AT_KEYWORDS): Add missing incremental kw Sergey Poznyakoff 2006-05-08 12:12:09 +00:00
  • edd6df370d Update for the new behavior Sergey Poznyakoff 2006-05-08 12:11:53 +00:00
  • fd89d5a3cd Add incr03.at,rename01.at,rename02.at,rename03.at Sergey Poznyakoff 2006-05-08 12:11:43 +00:00
  • 71f2e412ae New testcase Sergey Poznyakoff 2006-05-08 12:11:26 +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
  • c2775aedf1 Raise version number to 1.15.91 Sergey Poznyakoff 2006-05-08 12:09:15 +00:00
  • f1fe157dfe Update Sergey Poznyakoff 2006-05-08 12:09:07 +00:00
  • dd197c5ccb Update alpha_1_15_90_incremental_1 Sergey Poznyakoff 2006-05-02 19:16:23 +00:00
  • c576ac1354 Always use genfile --file, this enables extra error checking. Sergey Poznyakoff 2006-05-02 19:16:12 +00:00
  • 53d1279719 Attempt 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
  • dc7c0f1309 Update Sergey Poznyakoff 2006-05-02 16:33:10 +00:00
  • 783e58b394 (_open_archive): Remove unnecessary argument to check_compressed_archive. Sergey Poznyakoff 2006-05-02 16:32:40 +00:00
  • c0e5268e75 Update Sergey Poznyakoff 2006-04-25 17:27:03 +00:00
  • 1518cef987 (@copying): Remove the reference to not existing invariant section. Sergey Poznyakoff 2006-04-25 17:26:30 +00:00
  • 8dd9a2105e Skip the test if the file system does not support sparse files. Sergey Poznyakoff 2006-04-25 17:23:35 +00:00
  • 9ec31e3438 Update Sergey Poznyakoff 2006-04-11 12:02:27 +00:00
  • d4a41d5311 New testcase Sergey Poznyakoff 2006-04-11 12:01:28 +00:00
  • a46e6aa4dc Include extrac06.at Sergey Poznyakoff 2006-04-11 12:01:02 +00:00
  • b4d40436fd (TESTSUITE_AT): Add extrac06.at Sergey Poznyakoff 2006-04-11 12:00:37 +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
  • 90b061cf55 Minor changes Sergey Poznyakoff 2006-04-11 11:59:54 +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
  • 533854fd45 Update Sergey Poznyakoff 2006-03-13 09:46:52 +00:00
  • e99d4f83df Add Benno Schulenberg Sergey Poznyakoff 2006-03-13 09:44:15 +00:00
  • b8d5835375 Sort 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
  • 48d20d8f9e Minor fixes. Sergey Poznyakoff 2006-03-13 09:42:22 +00:00
  • adbbde5d4f Update Sergey Poznyakoff 2006-03-11 22:42:46 +00:00
  • 208389f3ad (AM_CPPFLAGS): Define LOCALEDIR Sergey Poznyakoff 2006-03-11 22:42:07 +00:00
  • db0f0804f5 Remove 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
  • 38c0884898 Update Sergey Poznyakoff 2006-03-04 09:58:26 +00:00
  • 7bcb876c5a Use -f - to read from stdin. Sergey Poznyakoff 2006-03-04 09:57:44 +00:00
  • dfd5ec2519 Update Sergey Poznyakoff 2006-02-21 07:10:52 +00:00
  • e81556858b Fix typo: --to-command instead of --to-program Sergey Poznyakoff 2006-02-21 07:09:39 +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
  • 631de61428 Fix copyright years Sergey Poznyakoff 2006-02-20 10:01:47 +00:00
  • 8bfefd8854 Uniformly start all test titles with a lower case letter Sergey Poznyakoff 2006-02-20 10:00:48 +00:00
  • f7a29307e2 Update Sergey Poznyakoff 2006-02-20 09:45:23 +00:00
  • 66ef04d4c8 New test alpha_1_15_90 Sergey Poznyakoff 2006-02-20 09:43:58 +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
  • 28698a5334 Reword test title Sergey Poznyakoff 2006-02-20 09:42:28 +00:00
  • e304b58fff Remove mkhier, use AT_TAR_MKHIER instead Sergey Poznyakoff 2006-02-20 09:42:08 +00:00
  • c532f12464 Add 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
  • f2bf9f2ffa Avoid 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
  • f6ede25815 Update Sergey Poznyakoff 2006-02-19 21:13:22 +00:00
  • 476019d083 (new_volume): Prompt the user for archive name if unable to open next archive. Sergey Poznyakoff 2006-02-19 21:12:50 +00:00
  • cf440a191f Update Sergey Poznyakoff 2006-02-19 20:37:14 +00:00
  • 588f444efe (add_chunk_header): Free st.orig_file_name after calling finish_header() Sergey Poznyakoff 2006-02-19 20:36:31 +00:00
  • b4051cb07c Updated Sergey Poznyakoff 2006-02-19 19:28:47 +00:00
  • 5032e08eb9 Raise version number to 1.15.90 Sergey Poznyakoff 2006-02-19 19:28:17 +00:00
  • 36f41eabf4 (dump_file0): Restore file_count_links,accidentally removed on 2005-11-29. Sergey Poznyakoff 2006-02-19 19:27:28 +00:00
  • 108edf3692 Updated Sergey Poznyakoff 2006-02-08 21:34:44 +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