Commit Graph

  • 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
  • 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