Commit Graph

  • a5d5cc599f Update Sergey Poznyakoff 2007-04-03 21:38:40 +00:00
  • 761895d43c Update Sergey Poznyakoff 2007-04-03 21:38:14 +00:00
  • 5d4f057e31 (sys_exec_info_script): Store the inter-communication fd in the environment variable TAR_FD Sergey Poznyakoff 2007-04-03 21:38:00 +00:00
  • 7c0ba663c8 Update Sergey Poznyakoff 2007-04-03 12:31:24 +00:00
  • 51118be241 Expect a warning on stderr Sergey Poznyakoff 2007-04-03 12:30:43 +00:00
  • 69f5d77383 Update Sergey Poznyakoff 2007-04-03 12:18:53 +00:00
  • d989864712 (main): Move closeopen after decode_options to allow shell process substitution to work. Sergey Poznyakoff 2007-04-03 12:18:40 +00:00
  • 983d328ff2 Restore accidentally deleted lines Sergey Poznyakoff 2007-03-30 19:28:22 +00:00
  • 586c684815 (transform_name_fp): Change signature. All callers updated. Sergey Poznyakoff 2007-03-30 19:20:52 +00:00
  • bbf7dec45e Fix indentation Sergey Poznyakoff 2007-03-30 19:19:56 +00:00
  • 40f79286ab Update Sergey Poznyakoff 2007-03-30 19:18:46 +00:00
  • ebc522d521 (all_names_found): Remove check for matching_flags. Sergey Poznyakoff 2007-03-30 19:18:35 +00:00
  • ad85f632c6 (transform_member_name): New function (decode_header): Use transform_member_name Sergey Poznyakoff 2007-03-30 19:18:24 +00:00
  • 062b37115f (extract_link, extract_symlink): Use transform_member_name instead of safer_name_suffix so that --transform and --strip-components affect links as well. Sergey Poznyakoff 2007-03-30 19:18:10 +00:00
  • 6261c58ae8 (transform_name_fp): Change signature (transform_member_name): New function Sergey Poznyakoff 2007-03-30 19:17:44 +00:00
  • 427bda01a3 Update Sergey Poznyakoff 2007-03-30 08:50:21 +00:00
  • 1d26fff0f3 Do not include mkdtemp.h Sergey Poznyakoff 2007-03-30 08:50:08 +00:00
  • bb6b92e37d (slurp): Remove any occurrences of $bt from the generated gnulib.mk Sergey Poznyakoff 2007-03-30 08:49:56 +00:00
  • 8ca4064a8c Update Sergey Poznyakoff 2007-03-30 08:49:38 +00:00
  • 5c890a6003 Adjust to recent gnulib changes. * lib/.cvsignore: Add fchownat.c, rmt-command.h, strerror.c, string.h, string_.h, sys, sys_time_.h, unistd_.h, wchar_.h, wctype_.h. Remove localedir.h, size_max.h, xsize.h. * src/xheader.c: Don't include stpcpy.h; no longer needed, now that gnulib string.h defines stpcpy on all platforms. Paul Eggert 2007-01-26 23:02:40 +00:00
  • 3705fd6452 Update Sergey Poznyakoff 2007-01-23 10:26:40 +00:00
  • bde442ba15 Add exclude.at Sergey Poznyakoff 2007-01-23 10:26:30 +00:00
  • c9a8f1bc33 New test case Sergey Poznyakoff 2007-01-23 10:26:20 +00:00
  • 66e9b9cd6c New options --exclude-caches-all, --exclude-caches-under, --exclude-tag-all, --exclude-tag-under Sergey Poznyakoff 2007-01-23 10:25:21 +00:00
  • b9588c4722 (struct exclude_tag): rename to exclusion_tag (check_exclusion_tags): New function (cachedir_file_p): New function (from check_cache_directory) (dump_dir0,dump_file0): Use check_exclusion_tags Sergey Poznyakoff 2007-01-23 10:25:06 +00:00
  • 9a41b3b3db (exclude_caches_option): Remove (enum exclusion_tag_type): New data type (add_exclude_tag): Rename to add_exclusion_tag (cachedir_file_p): New prototype Sergey Poznyakoff 2007-01-23 10:24:43 +00:00
  • 990e7d4437 Document --exclude-caches* and --exclude-tag* options. Sergey Poznyakoff 2007-01-23 10:24:19 +00:00
  • 173d3229e3 Update Sergey Poznyakoff 2007-01-19 15:43:13 +00:00
  • 2d261da8f9 Version 1.16.2 Sergey Poznyakoff 2007-01-19 15:42:43 +00:00
  • 99527fa17b (sparse_skip_file,pax_dump_header_1) (pax_decode_header): Keep track of the number of bytes written. Sergey Poznyakoff 2007-01-19 15:42:26 +00:00
  • 868ee74028 (expand_sparse): use ftruncate to handle the trailing hole Sergey Poznyakoff 2007-01-19 15:41:55 +00:00
  • 8c90bf0414 Fix typos Sergey Poznyakoff 2007-01-19 15:41:39 +00:00
  • 892cdea8a1 Require strerror Sergey Poznyakoff 2007-01-19 15:41:32 +00:00
  • 00763876f1 Update Sergey Poznyakoff 2007-01-04 20:06:33 +00:00
  • 1a1cfaafa6 (list_dumpdir): Minor fixes. Sergey Poznyakoff 2007-01-04 20:05:32 +00:00
  • 445d95be07 (diff_dumpdir): Compare directory contents using dumpdir_cmp. Do not free dumpdir_buffer, it will leave the incremental directory table in the inconsistent state and trigger full dump. (read_and_process): Process dumpdirs no matter what the archive format. Sergey Poznyakoff 2007-01-04 20:05:05 +00:00
  • 6fe55234c9 Update Sergey Poznyakoff 2007-01-04 16:16:00 +00:00
  • e24d8574a8 (read_and_process): Fix type of "size" Sergey Poznyakoff 2007-01-04 16:15:10 +00:00
  • 4da5205ed6 Update Sergey Poznyakoff 2006-12-13 08:22:18 +00:00
  • 8241687465 Skip the test if genfile is not able to create the filename with an embedded newline. Sergey Poznyakoff 2006-12-13 08:22:04 +00:00
  • 8e3f3adf98 Port to Forte Developer 7 C 5.4 and C99. * src/common.h (add_exclude_tag): Add decl; C99 requires this and Forte warns about it. * src/incremen.c: Include <mkdtemp.h> for mkdtemp prototype, for same reason. * src/misc.c (get_max_open_files): Rewrite to avoid code that Forte C complains about as being unreachable. * src/xheader.c (mtime_code): Rewrite to avoid Forte error reported by Trond Hasle Amundsen. Paul Eggert 2006-12-12 23:56:24 +00:00
  • e5ef01710a Fix wording release_1_16_1 Sergey Poznyakoff 2006-12-08 16:59:56 +00:00
  • e70e63612a Update Sergey Poznyakoff 2006-12-08 16:45:34 +00:00
  • 28b26242c7 Add paxutils files to dot_ignore. Sergey Poznyakoff 2006-12-08 16:45:09 +00:00
  • 6b279a6f8c Update Sergey Poznyakoff 2006-12-08 13:40:15 +00:00
  • 079f2d6807 Raise version number to 1.16.1 Sergey Poznyakoff 2006-12-08 13:40:07 +00:00
  • b09417ca8d (slurp): Create .(cvs|git)ignore if not present Sergey Poznyakoff 2006-12-08 13:39:58 +00:00
  • b15e3f1bbd Remove autogenerated files Sergey Poznyakoff 2006-12-08 12:42:32 +00:00
  • 1616b1d1b4 Update Sergey Poznyakoff 2006-12-07 14:35:13 +00:00
  • f23bc997fd Update Sergey Poznyakoff 2006-12-07 14:34:48 +00:00
  • 8ec119a27f Update Sergey Poznyakoff 2006-12-07 14:34:28 +00:00
  • e35d05b1d2 Use genfile instead of dd, because on some systems /dev/zero is not available. Sergey Poznyakoff 2006-12-07 14:34:15 +00:00
  • cdb77dcd7b (extract_file): Call skip_member if open fails. Patch proposed by Jan-Benedict Glaw <jbglaw@lug-owl.de> Sergey Poznyakoff 2006-12-07 14:33:54 +00:00
  • 9bf87b195e (dump_dir0): Move checks for exclude tags to dump_file0. (dump_dir): Move calls to ensure_slash to dump_file0 Sergey Poznyakoff 2006-12-07 14:33:42 +00:00
  • 643e3f2441 Update documentation of --exclude-tag Sergey Poznyakoff 2006-12-07 14:33:30 +00:00
  • 6e75833cb7 (distclean-local): Fixed Sergey Poznyakoff 2006-12-07 14:33:17 +00:00
  • 908d78d208 * NEWS: Fix some race conditions with tar -x --same-owner. * src/extract.c (ARCHIVED_PERMSTATS): Add a comment saying that S_IRWXG | S_IRWXO might be masked out. (set_mode): Set the mode if some bits were masked out originally. (set_stat): Don't chmod before chown, as that might temporarily grant permissions that we don't want to grant. The chmod was there only to work around broken hosts, so add a comment advising users not to use those broken hosts instead. (repair_delayed_set_stat, extract_dir): Remember to mask out current umask before inverting permissions. (extract_dir): If the owner might change, or if the mode has special bits, create the directory 700 at first, but restore it later. (open_output_file): New arg mode; all uses changed. (extract_file, extract_node, extract_fifo): If the owner might change, omit group and other bits at first, but restore them after changing the owner. Paul Eggert 2006-12-04 21:35:56 +00:00
  • 192f55e2a0 * doc/tar.texi (Long Options): Remove doubled word. Paul Eggert 2006-12-04 09:33:31 +00:00
  • 9d99fd13cd Update Sergey Poznyakoff 2006-11-30 09:54:07 +00:00
  • 07902e9f9a (xheader_read): Remove unused variable Sergey Poznyakoff 2006-11-30 09:53:20 +00:00
  • 0c94a109b9 Update Sergey Poznyakoff 2006-11-30 09:42:59 +00:00
  • 27094c4fc3 Implement --update-po and .bootstrap Sergey Poznyakoff 2006-11-30 09:42:12 +00:00
  • 5aca761e1b Remove src/mangle.c Sergey Poznyakoff 2006-11-30 09:41:50 +00:00
  • cc82db7f2d (exclude): Document --exclude-tag Sergey Poznyakoff 2006-11-30 09:41:42 +00:00
  • 137ebf41fd (dump_dir0): Implement --exclude-tag option Sergey Poznyakoff 2006-11-30 09:40:47 +00:00
  • 49ea4c5057 * NEWS: Remove support for mangled names. * doc/tar.texi (verbose tutorial): Likewise. * src/Makefile.am (tar_SOURCES): Remove mangle.c. * src/common.h (extract_mangle): Remove decl. * src/extract.c (extract_mangle_wrapper): Remove. (prepare_to_extract): Remove support for mangled names. * src/list.c (read_and, print_header): Likewise. * src/mangle.c: Remove. * src/tar.h (GNUTYPE_NAMES): Remove. Paul Eggert 2006-11-30 06:39:29 +00:00
  • 409bddf38c * lib/.cvsignore: Add fstatat.c, gnulib.mk, openat-proc.c, same-inode.h, stat_.h, tempname.c, tempname.h, uinttostr.c. Paul Eggert 2006-11-30 06:27:24 +00:00
  • c930802f31 Port to latest gnulib. There were a lot of changes, so the simplest way to get this up and running was to switch to coreutils bootstrap procedure. I noticed one feature missing after this merge: the ability to update a single .po file. I can add that later if need be. * README-cvs, bootstrap.conf: New files. * lib/.cvsignore: Remove Makefile.am, printf-parse.c, vasnprintf.c. * lib/printf-parse.c, lib/vasnprintf.c: New files, from coreutils, to override gnulib, so that we don't need xsize.h. * bootstrap: Replace with coreutils bootstrap, except add support for paxutils. * configure.ac (gl_USE_SYSTEM_EXTENSIONS): Remove, as gl_EARLY now does this. (gl_EARLY, gl_INIT): Add. (tar_GNULIB): Remove. * gnulib.modules: Add configmake. * lib/Makefile.tmpl: Remove, replacing with.... * lib/Makefile.am: New file. * src/Makefile.am (tar.o): Remove dependency: Automake does this for us. * src/tar.c: Include <configmake.h> and <rmt-command.h>, not <localedir.h>. Paul Eggert 2006-11-30 00:14:10 +00:00
  • ca14885884 Remove trailing white space. Paul Eggert 2006-11-29 18:28:45 +00:00
  • 01d6188297 Remove trailing white space. Paul Eggert 2006-11-29 18:16:27 +00:00
  • 759c5208c5 Remove trailing white space. Paul Eggert 2006-11-29 18:11:34 +00:00
  • 8457e06b99 Do not depend on command timing. Sergey Poznyakoff 2006-11-13 10:42:19 +00:00
  • 8719c4f680 Update Sergey Poznyakoff 2006-11-13 10:41:47 +00:00
  • 574022ab78 Do not use 'k' modifier in dd options. Sergey Poznyakoff 2006-11-13 10:41:34 +00:00
  • 304d8b9f0c (start_header): Pass mtime as a call-specific data to xheader_store. Sergey Poznyakoff 2006-11-13 10:39:51 +00:00
  • 6712656eb2 (mtime_coder): Treat non-null data as a pointer to struct timespec, overriding st->mtime Sergey Poznyakoff 2006-11-13 10:39:15 +00:00
  • 415d9c9e15 Update copyright year Sergey Poznyakoff 2006-11-01 00:30:45 +00:00
  • 1a8141ab8a Update Sergey Poznyakoff 2006-11-01 00:24:44 +00:00
  • 023c766600 Do not assume tar's default archive is stdout Sergey Poznyakoff 2006-11-01 00:24:19 +00:00
  • fdb46aa2e2 Add more keywords Sergey Poznyakoff 2006-11-01 00:24:09 +00:00
  • 2504e7d3ae Add new test cases. Sergey Poznyakoff 2006-11-01 00:23:52 +00:00
  • b0765e257c (enum read_file_list_state.file_list_skip): New value (read_name_from_file): Skip zero-length entries Sergey Poznyakoff 2006-11-01 00:23:24 +00:00
  • 73d4c40a87 Update Sergey Poznyakoff 2006-10-31 20:19:30 +00:00
  • 7aed52718f Call last_component instead of base_name. The latter returns a malloced string since 2006-03-11. Sergey Poznyakoff 2006-10-31 20:18:50 +00:00
  • f572ca0cfb Update release_1_16 Sergey Poznyakoff 2006-10-21 16:48:08 +00:00
  • 29236a68fa (distclean-local): New rule Sergey Poznyakoff 2006-10-21 16:47:56 +00:00
  • a4b1564d4a Version 1.16 Sergey Poznyakoff 2006-10-21 16:47:42 +00:00
  • 94d0385a57 Update Sergey Poznyakoff 2006-10-17 08:14:06 +00:00
  • 603c1d60a6 Fix help output formatting. Thanks Benno Schulenberg. Sergey Poznyakoff 2006-10-17 08:13:43 +00:00
  • 29e9004b69 Update Sergey Poznyakoff 2006-10-16 07:51:40 +00:00
  • 8da152d2b3 Update Sergey Poznyakoff 2006-10-16 07:49:00 +00:00
  • 00746182f3 (dist-hook): Create a cpio archive. Sergey Poznyakoff 2006-10-16 07:48:51 +00:00
  • 6c8815909d Update Sergey Poznyakoff 2006-10-14 21:13:28 +00:00
  • fde336b21a (AT_KEYWORDS): Keyword `filechange' Test tar exit status. Sergey Poznyakoff 2006-10-14 21:12:42 +00:00
  • 394b12d950 New test grow.at Sergey Poznyakoff 2006-10-14 21:12:04 +00:00
  • 372638ae7a Do not attempt to close stderr after call to close_stdout. Sergey Poznyakoff 2006-10-14 21:11:43 +00:00
  • c455373e5b (dump_regular_file,dump_file0): Set exit_status to TAREXIT_DIFFERS if the file being dumped was truncated or otherwise changed. Sergey Poznyakoff 2006-10-14 21:11:27 +00:00
  • f2541c66cd (Synopsis): Document tar exit codes. Sergey Poznyakoff 2006-10-14 21:11:03 +00:00
  • 7e6d54d0c0 Update Sergey Poznyakoff 2006-10-14 10:48:14 +00:00
  • 876e554157 (AT_KEYWORDS): Add stdout keyword Sergey Poznyakoff 2006-10-14 10:46:24 +00:00