Commit Graph

  • 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
  • 84378fa99a * gnulib.modules: Add closeout, exitfial. * lib/.cvsignore: Add __fpending.c, __fpending.h, closeout.c, closeout.h. * src/buffer.c: Incluse closeout.h. (_open_archive): Use freopen rather than fopen, so that stdlis is always either stdout or stderr. Use close_stdout_set_file_name to report its name. * src/tar.c: Include closeout.h and exitfail.h. (parse_opt, usage): Call close_stdout as appropriate, to check for write errors. (decode_options): Exit with status TAREXIT_FAILURE, not 1. (main): Set exit_failure, to exit with proper status on memory allocation failure and the like. Use close_stdout rather than rolling our own test. Paul Eggert 2006-02-07 23:51:37 +00:00
  • 78b078b455 * NEWS: --version now outputs copyright etc., to conform to the GNU coding standards. Remove --license. * gnulib.modules: Add version-etc-fsf. * doc/tar.texi: Document the change. * lib/.cvsignore: Add version-etc-fsf.c, version-etc.c, version-etc.h. * scripts/Makefile.am (SED_CMD): Update PAKCAGE_NAME, not PACKAGE. * scripts/backup.in: Remove --license. Change --version to conform to GCS. * scripts/restore.in: Likewise. * scripts/backup.sh.in (license): Output briefer license in the style of coreutils, for consistency with other changes. * src/tar.c: Include <version-etc.h>. (LICENSE_OPTION): Remove. (options): Remove --license. (license): Remove. (parse_opt): Use version_etc instead of rolling it ourselves. Remove --license. * tests/version.at (tar --version): Check only the first line of output. Paul Eggert 2006-02-07 22:18:36 +00:00
  • e86e864544 Update copyright year to 2006. Paul Eggert 2006-02-07 20:55:49 +00:00
  • d21d48dfba Update Sergey Poznyakoff 2006-02-07 13:58:03 +00:00
  • cf1e8b086b (sparse_map_decoder): Fix misleading diagnostic. Sergey Poznyakoff 2006-02-07 13:57:41 +00:00
  • 6912b7fb15 Update Sergey Poznyakoff 2006-01-31 11:28:59 +00:00
  • 6c28751ca7 (struct tar_stat_info): New members is_dumpdir and skipped. Sergey Poznyakoff 2006-01-31 11:28:45 +00:00
  • 0e848e7b2c (list_archive): Use is_dumpdir Do not wrap skip_member in mv_begin/mv_end, the function itself takes care of it. (decode_header): Set stat_info->is_dumpdir (skip_member): Do nothing if skipped is true Sergey Poznyakoff 2006-01-31 11:28:32 +00:00
  • ab8a184336 (get_gnu_dumpdir): Static (is_dumpdir): New function (purge_directory): Use is_dumpdir Sergey Poznyakoff 2006-01-31 11:28:07 +00:00
  • 48ce2946d9 (prepare_to_extract): Use is_dumpdir member to check for dumpdirs. Sergey Poznyakoff 2006-01-31 11:27:41 +00:00
  • dde5c2391b (get_gnu_dumpdir): Remove prototype (is_dumpdir): New function Sergey Poznyakoff 2006-01-31 11:27:14 +00:00
  • 860577ee0e Update Sergey Poznyakoff 2006-01-21 23:39:52 +00:00
  • a349bd80b9 (decode_options): Refuse using --delete with compression options Sergey Poznyakoff 2006-01-21 23:39:20 +00:00
  • ba10157a0c Update Sergey Poznyakoff 2006-01-18 15:36:23 +00:00
  • 514ea6ead4 Implement new options --quoting-style, --quote-chars and --no-quote-chars. Sergey Poznyakoff 2006-01-18 15:36:15 +00:00
  • 6a97a00688 Initial documentation for --quoting-style, --quote-chars and --no-quote-chars option. Sergey Poznyakoff 2006-01-18 15:36:01 +00:00
  • 7d822e225e (DEFAULT_QUOTING_STYLE): New configuration variable Sergey Poznyakoff 2006-01-18 15:35:44 +00:00
  • 38f08784bc Updated Sergey Poznyakoff 2006-01-18 15:35:34 +00:00
  • c17a9f91d0 * bootstrap: Default to pserver, and switch to cvs.sv.gnu.org, to accommodate recent changes to the GNU CVS server. Paul Eggert 2006-01-09 22:53:55 +00:00
  • 0f4660c786 Add argp-pin.c, mkdirat.c, openat-priv.h. Paul Eggert 2006-01-09 22:52:34 +00:00
  • 5e01ba7dbe Update Sergey Poznyakoff 2005-12-14 13:00:23 +00:00
  • 288315211a Update invocations of name_scan. Sergey Poznyakoff 2005-12-14 12:58:56 +00:00
  • dacac1b6be (name_scan): Change prototype. Sergey Poznyakoff 2005-12-14 12:58:34 +00:00
  • 85cf996677 (name_scan): Take an additional argument requesting the exact matching. Sergey Poznyakoff 2005-12-14 12:58:22 +00:00
  • 6cbd7e1608 Update Sergey Poznyakoff 2005-12-13 13:33:21 +00:00
  • b794387cba (addname,add_hierarchy_to_namelist): Initialize explicit member appropriately. Sergey Poznyakoff 2005-12-13 13:32:29 +00:00
  • 91abd3da82 (procdir): If name_scan() returns something, check if it was explicitely given in the command line Sergey Poznyakoff 2005-12-13 13:32:14 +00:00