Commit Graph

  • 5b3dc9e3dd (struct name): New member explicit'. Remove unused member isdir' Sergey Poznyakoff 2005-12-13 13:31:56 +00:00
  • d3e525009d Update Sergey Poznyakoff 2005-12-12 22:56:25 +00:00
  • 86ef91adff If --one-file-system is given and a directory is found to be on another device, *and* this directory is explicitely given in the command line, then do not omit it. Sergey Poznyakoff 2005-12-12 22:55:39 +00:00
  • a92a8ff22d Update Sergey Poznyakoff 2005-12-11 14:12:54 +00:00
  • 1cdb7823ae (options,parse_opt): New options --delay-directory-restore and --no-delay-directory-restore Sergey Poznyakoff 2005-12-11 14:12:12 +00:00
  • e73e4428e2 (directories_first): Replaced by delay_directory_restore_option. All uses changed. Sergey Poznyakoff 2005-12-11 14:11:41 +00:00
  • d2dd096f1d (delay_directory_restore_option): New global. Sergey Poznyakoff 2005-12-11 14:11:16 +00:00
  • fb0a0aaf52 Document --delay-directory-restore option. (Configuring Help Summary): Document usage of ARGP_HELP_FMT variable to customize help output. Sergey Poznyakoff 2005-12-11 14:10:53 +00:00
  • d102bc35a5 Update Sergey Poznyakoff 2005-12-11 14:10:05 +00:00
  • bb8c1d6a72 Update Sergey Poznyakoff 2005-12-09 10:05:10 +00:00
  • f03fc1e078 (read_directory_file): Fix format string Sergey Poznyakoff 2005-12-09 10:05:02 +00:00
  • 273810a9f7 (to_chars_subst): Remove unused variable Make sure useful result code is returned. Sergey Poznyakoff 2005-12-09 10:04:52 +00:00
  • 69abc76d13 (set_file_atime): Add prototype. Sergey Poznyakoff 2005-12-09 10:04:38 +00:00
  • 12cd9cea81 (open_archive): Add default case to shut up gcc. Sergey Poznyakoff 2005-12-09 10:04:26 +00:00
  • bfa1bba5fd Fix typo Sergey Poznyakoff 2005-12-08 15:55:53 +00:00
  • 09b46a0b47 Update Sergey Poznyakoff 2005-12-08 15:41:38 +00:00
  • a169d65b94 (gid_to_chars, major_to_chars, minor_to_chars) (mode_to_chars, off_to_chars, size_to_chars, time_to_chars) (uid_to_chars, uintmax_to_chars): Return bool (to_chars): Return bool (start_header): Check return values of convertion routines. Fail if unable to store data in the header. Sergey Poznyakoff 2005-12-08 15:41:28 +00:00
  • 89e65f936d (gid_to_chars, major_to_chars, minor_to_chars) (mode_to_chars, off_to_chars, size_to_chars, time_to_chars) (uid_to_chars, uintmax_to_chars): Return bool Sergey Poznyakoff 2005-12-08 15:41:11 +00:00
  • c9ac15ae0f (Current status): Renamed to 'Changes' and moved to appendices. (Large or Negative Values): Rewritten Sergey Poznyakoff 2005-12-08 15:40:52 +00:00
  • 67770b89f2 Change permissions in the sample outputs to more usual ones Sergey Poznyakoff 2005-12-07 16:17:44 +00:00
  • f3e6ea7d49 Updated Sergey Poznyakoff 2005-12-07 15:12:38 +00:00
  • 0d2cdcb797 Remove @set's Sergey Poznyakoff 2005-12-07 15:12:00 +00:00
  • 49e7ba5b17 Following the discussion with Karl Berry, discontinue using @value{} substitutions for Texinfo commands. Properly index all long options. Print a separate long option index. Sergey Poznyakoff 2005-12-07 15:11:45 +00:00
  • 3f6d87a61c Update Sergey Poznyakoff 2005-12-07 09:43:09 +00:00
  • 80855932f0 Resolve some more FIXMEs Sergey Poznyakoff 2005-12-07 09:42:30 +00:00
  • 9e50e81558 Fix typosin the recent entry Sergey Poznyakoff 2005-12-07 08:40:46 +00:00
  • 02ec34f473 Update Sergey Poznyakoff 2005-12-06 23:18:20 +00:00
  • 075c726752 Update Sergey Poznyakoff 2005-12-06 23:16:10 +00:00
  • 2e7a943d0e (options): Add --restrict option. Use macros for option grouping. (license): Print full list of copyright years Sergey Poznyakoff 2005-12-06 23:15:41 +00:00
  • 4ba3b41e2e (sys_exec_info_script): The script can supply new archive name to use by writing it to file descriptor 3. Sergey Poznyakoff 2005-12-06 23:15:14 +00:00
  • 4669306854 (sys_exec_info_script): Update delaration (restrict_option): New global Sergey Poznyakoff 2005-12-06 23:14:56 +00:00
  • ffc4fb7bdd (new_volume): Update invocation (change_tape_menu): New function. Disable '!' command if given --restrict option. Sergey Poznyakoff 2005-12-06 23:14:44 +00:00
  • c7ab8eaba4 Use TAR_VOLUME instead of reading volno file. Sergey Poznyakoff 2005-12-06 23:13:28 +00:00
  • 3f166ce0f5 Update --info-scripts documentation Sergey Poznyakoff 2005-12-06 23:13:19 +00:00
  • ac74317f46 * configure.ac (DENSITY_LETTER): Fix m4 overquoting. * .cvsignore: Ignore .bootstrap. Paul Eggert 2005-12-06 21:43:17 +00:00
  • ce522dce26 Update Sergey Poznyakoff 2005-12-06 16:33:17 +00:00
  • f018d69aac (archive_format_string): Remove static qualifier. (subcommand_string): New function. Sergey Poznyakoff 2005-12-06 16:32:37 +00:00
  • ea019af0cc (sys_exec_info_script): New function. Sergey Poznyakoff 2005-12-06 16:32:17 +00:00
  • 0251059267 (archive_format_string,subcommand_string,sys_exec_info_script): New prototypes. Sergey Poznyakoff 2005-12-06 16:32:05 +00:00
  • 13d43c302f (new_volume): Use sys_exec_info_script() instead of system(). Sergey Poznyakoff 2005-12-06 16:31:49 +00:00
  • a5da71b142 Document --to-command and --info-script options. Add missing xrefs. Sergey Poznyakoff 2005-12-06 16:31:37 +00:00
  • 853edfaff4 Update Sergey Poznyakoff 2005-12-01 14:51:19 +00:00
  • ca43ee9769 Obtain root_device here, to make sure it works correctly with -C. Sergey Poznyakoff 2005-12-01 14:50:57 +00:00
  • 888b0d82b7 Update Sergey Poznyakoff 2005-12-01 12:58:17 +00:00
  • b84053c7be Add Guerkan Karaman Sergey Poznyakoff 2005-12-01 12:57:50 +00:00
  • c040cabb98 Add incr02.at Sergey Poznyakoff 2005-12-01 12:51:58 +00:00
  • ae00dc0d37 (purge_directory): Skip the member and return if the archive is not in incremental format. Sergey Poznyakoff 2005-12-01 12:51:20 +00:00
  • 5249a99377 Fix restoring of directory timestamps from incremental archives. (directories_first): New variable. (prepare_to_extract): Set directories_first (extract_archive): Call apply_nonancestor_delayed_set_stat() only if not extracting from an incremental archive Sergey Poznyakoff 2005-12-01 12:50:58 +00:00
  • 2edff367d9 * doc/tar.texi (Option Summary): Rewrite the --atime-preserve=system description in response to Ian Turner's proposed patch. * doc/tar.texi (Extracting Specific Files): Remove obsolescent FIXME. Paul Eggert 2005-12-01 00:18:05 +00:00
  • f8f4f49011 (parse_opt): Remove bogus \n in new atime diagnostic. Paul Eggert 2005-11-29 19:41:34 +00:00
  • 3fbdf738de * lib/.cvsignore: Add malloc.h, regcomp.c, regex.c, regex.h, regex_internal.c, regex_internal.h, regexc.c; used by rpmatch. Paul Eggert 2005-11-29 19:39:06 +00:00
  • 7209cbed6c * THANKS: Add Ian Turner. Paul Eggert 2005-11-29 19:26:13 +00:00
  • aa976a5170 * NEWS: New option --atime-preserve=system, which uses O_NOATIME. Paul Eggert 2005-11-29 19:14:21 +00:00
  • 7b00db5675 Convert back to UTF-8, sort (using LC_ALL=en_US.UTF-8 on Debian stable), and consistently use tabs rather than spaces. Paul Eggert 2005-11-29 18:53:34 +00:00
  • 36be286c03 Update Sergey Poznyakoff 2005-11-27 12:00:42 +00:00
  • d543d2dbbd Remove prematurely introduced parts of new MV format support Sergey Poznyakoff 2005-11-27 11:59:34 +00:00
  • 5df61b429a Update Sergey Poznyakoff 2005-11-26 19:32:55 +00:00
  • 9590e781c0 (xheader_format_name): Fix memory leak. Sergey Poznyakoff 2005-11-26 19:31:02 +00:00
  • 87dfaf3176 Update Sergey Poznyakoff 2005-11-11 12:18:14 +00:00
  • c81a5e8bf5 Close stdin so that if something fails causing tar to ask for the next volume, it won't hang the testsuite. Sergey Poznyakoff 2005-11-11 12:17:38 +00:00
  • b5775215d7 (confirm): Rewritten using rpmatch. (decode_options): Minor optimizations (main): Call stdopen() to ensure the first three descriptors are open. Sergey Poznyakoff 2005-11-11 12:17:10 +00:00
  • df970c7332 Add rpmatch.c Sergey Poznyakoff 2005-11-11 12:16:41 +00:00
  • f1f3b524f6 Add stdopen, imported from coreutils. Sergey Poznyakoff 2005-11-11 12:16:28 +00:00
  • 575ea074cc Add rpmatch Sergey Poznyakoff 2005-11-11 12:15:46 +00:00
  • 6204e3c718 Updated Sergey Poznyakoff 2005-11-11 00:28:27 +00:00
  • ecce6f3e9a (Tarcat): New node Sergey Poznyakoff 2005-11-11 00:27:58 +00:00
  • 85890103ae Handle archives in pax format. Improve handling of traditional archives. Sergey Poznyakoff 2005-11-11 00:27:21 +00:00
  • 7e51be5fe2 Update Sergey Poznyakoff 2005-11-11 00:26:39 +00:00
  • 05ba292a93 (AT_TAR_CHECK): Define TEST_TAR_FORMAT Sergey Poznyakoff 2005-11-11 00:26:18 +00:00
  • 1ebdd88caf (xheader_format_name): Remove static qualifier. Change last argument. Correct buffer size calculation (allocated too much space). (xheader_write): Increase global_header_count here ... (xheader_write_global): ... instead of here Sergey Poznyakoff 2005-11-11 00:26:09 +00:00
  • b6d3432810 (write_extended): Change type and meaning of the first argument. All callers updated Sergey Poznyakoff 2005-11-11 00:25:41 +00:00
  • 1e8f6d41c4 (flush_read,flush_write): Functions, again. (write_extended): Changed declaration (xheader_format_name): New declaration Sergey Poznyakoff 2005-11-11 00:25:20 +00:00
  • 5b1df7b55e (flush_write,flush_read): Change data type. (flush_archive): Compute actual buffer fill level before calling low level function. (close_archive): Call flush_archive again if the first call resulted in partially filled buffer. (try_new_volume): Rewritten handling of initial headers. (add_chunk_header): New function. Write an additional header before the continuation chunk. The purpose of the header is to allow third-party tars to extract the member. (simple_flush_write): Take an argument. (_gnu_flush_write): Correctly handle partially filled buffers. Sergey Poznyakoff 2005-11-11 00:24:52 +00:00
  • 692f449623 Updated Sergey Poznyakoff 2005-11-10 13:01:34 +00:00
  • 5f060c2025 Add new test cases Sergey Poznyakoff 2005-11-10 13:00:11 +00:00
  • d1867fd76c (xhdr_tab): New keyword GNU.volume.filename. Sergey Poznyakoff 2005-11-10 12:59:38 +00:00
  • 813aa07a89 Do not pad compressed output if it goes to stdout. Sergey Poznyakoff 2005-11-10 12:59:25 +00:00
  • 9a42d94543 (sparse_dump_region): Call mv_size_left. (sparse_dump_file): Enclose the loop in mv_begin/mv_end. Sergey Poznyakoff 2005-11-10 12:59:13 +00:00
  • b9b37ee191 (try_new_volume): Bugfix. Always check continued_file_name. If it is absent, the volume is out of sync. (add_multi_volume_header): Create GNU.volume.filename keyword in the extended header. Sergey Poznyakoff 2005-11-10 12:58:43 +00:00
  • 04549e1f21 Update Sergey Poznyakoff 2005-11-09 13:13:00 +00:00
  • f3a24a7a51 (AT_KEYWORDS): Improve to allow executionof related tests in groups. Sergey Poznyakoff 2005-11-09 13:09:44 +00:00
  • e1286c1989 (xhdr_tab): Support for new GNU keywords. Sergey Poznyakoff 2005-11-09 13:09:25 +00:00
  • 5eecc4c994 (decode_options): Allow to use --multi-volume and --label with pax archives. Sergey Poznyakoff 2005-11-09 13:09:12 +00:00
  • cb3d8b0db9 Use mv_.* functions where necessary. Sergey Poznyakoff 2005-11-09 13:08:55 +00:00
  • 52429bb956 Use mv_.* functions uniformly instead of fiddling with the global variables. Sergey Poznyakoff 2005-11-09 13:08:42 +00:00
  • 7200f4f5f7 (save_name,save_sizeleft,save_totsize): Remove globals. (volume_label,continued_file_name,continued_file_size): New variables. (flush_read,flush_write): Pointers to functions (mv_begin,mv_end,mv_total_size,mv_size_left): New functions (write_extended): New function. Sergey Poznyakoff 2005-11-09 13:08:13 +00:00
  • 737b0251de Rewritten in a more modular fashion to provide GNU extensions (multi-volume archives and archive labels) in pax format. (volume_label,continued_file_name,continued_file_size) (continued_file_offset): New globals. (save_name,save_totsize,save_sizeleft): Make static (mv_begin,mv_end,mv_total_size,mv_size_left): New functions (open_archive,flush_write,flush_read): Rewritten Sergey Poznyakoff 2005-11-09 13:07:45 +00:00
  • 48d508b78b Update Sergey Poznyakoff 2005-11-09 13:07:26 +00:00
  • 57c2124d68 * src/tar.c (NS_PRECISION_FORMAT_MASK): New macro. (tar_timespec_cmp): New function. Wrapper over timespec_cmp using the timespec precision provided by the current archive format. * src/common.h (tar_timespec_cmp): New declaration. * src/compare.c (diff_file): Use tar_timespec_cmp. * src/extract.c (file_newer_p): Likewise. * src/update.c (update_archive): Likewise. * tests/truncate.at: Reverted changes * tests/update.at: Reverted changes Paul Eggert 2005-11-08 07:20:02 +00:00
  • 06379466c1 (xheader_store): Last arg is void const *. Paul Eggert 2005-11-07 05:11:55 +00:00
  • 3eec6b3f46 (xheader_store): Last arg here is void const *, too. Paul Eggert 2005-11-07 05:11:40 +00:00
  • 60f8dd83b8 (struct xhdr_tab.coder): Last arg is void const *, not void *, to avoid create.c warning from GCC "passing argument 3 of 'xheader_store' discards qualifiers from pointer target type". (dummy_coder, atime_coder, gid_coder, gname_coder, linkpath_coder): (ctime_coder, mtime_coder, path_coder, size_coder, uid_coder): (uname_coder, sparse_size_coder, sparse_numblocks_coder): (sparse_offset_coder, sparse_numbytes_coder, dumpdir_coder): Likewise. Paul Eggert 2005-11-07 05:03:09 +00:00
  • cfbf693855 * tests/truncate.at: Create files whose time stamps must fall on 1-second boundaries. This prevents tests from failing on hosts like Solaris 8 that have nanosecond-resolution file time stamps. * tests/update.at: Likewise. Paul Eggert 2005-11-07 04:03:29 +00:00
  • 35f5b48815 Update Sergey Poznyakoff 2005-11-07 02:55:25 +00:00
  • 374ae10d39 (xheader_keyword_deleted_p): Remove static qualifier. (struct xhdr_tab.decoder): Change prototype. POSIX allows string values to contain embedded nulls, so take an extra argument specifying the length of the string. (decx,decg,dummy_decoder,atime_decoder,gid_decoder) (gname_decoder,linkpath_decoder,ctime_decoder,mtime_decoder) (path_decoder,size_decoder,uid_decoder,uname_decoder) (sparse_size_decoder,sparse_numblocks_decoder) (sparse_offset_decoder,sparse_numbytes_decoder): Likewise. (decode_record): Pass value length to the handler (run_override_list): Pass value length to the decoder (xheader_print_n): New function (xheader_print): Rewritten using xheader_print_n (xheader_finish): Do not rely om strlen to compute the length of the collected string: it can contain embedded nulls (xheader_string_begin,xheader_string_add,xheader_string_end): New functions. (sparse_map_decoder,dumpdir_coder,dumpdir_decoder): New functions. Handle GNU.sparse.map and GNU.dumpdir variables. (xhdr_tab): Add new variables. Sergey Poznyakoff 2005-11-07 02:52:58 +00:00
  • 4d22cbd47c Test gnu, oldgnu, and posix formats Sergey Poznyakoff 2005-11-07 02:51:22 +00:00
  • e20e79e7ff (struct tar_stat_info.dumpdir): New member. Sergey Poznyakoff 2005-11-07 02:50:25 +00:00
  • f865597c89 Incremental options are allowed with --format=pax (tar_stat_destroy): Free dumpdir Sergey Poznyakoff 2005-11-07 02:50:14 +00:00
  • 1b9c48d934 (sparse_diff_file): Bugfix: set seekable. (pax_dump_header): Store sparse map in GNU.sparse.map. If this variable has been explicitely deleted, use GNU.sparse.offset/ GNU.sparse.numbytes variables. Sergey Poznyakoff 2005-11-07 02:49:45 +00:00
  • f6458a827a (list_archive): Handle incremental backups in pax format. (decode_header): Initialize stat_info.dumpdir Sergey Poznyakoff 2005-11-07 02:49:23 +00:00