Commit Graph

  • 9d5fd390dc Bugfixes. Sergey Poznyakoff 2005-05-27 12:03:39 +00:00
  • e5e43aa7a4 Updated Sergey Poznyakoff 2005-05-26 12:51:18 +00:00
  • 77e56f876d Document new backup scripts behavior Sergey Poznyakoff 2005-05-26 12:50:43 +00:00
  • 2c49c610be (mt_begin,mt_rewind,mt_offline,mt_status): Use $MT to invoke mt (init_common): Set --rsh-command option for mt if TAPE_FILE is a remote archive. Sergey Poznyakoff 2005-05-26 12:50:30 +00:00
  • ec89da307c Minor fixes Sergey Poznyakoff 2005-05-26 12:50:11 +00:00
  • ee870c97b9 Updated Sergey Poznyakoff 2005-05-21 23:13:38 +00:00
  • ca5e64504b (hash_string_hasher,hash_string_compare) (hash_string_insert,hash_string_lookup,removed_prefixes_p) (safer_name_suffix): Moved to paxutils Sergey Poznyakoff 2005-05-21 23:11:26 +00:00
  • cc07b9e170 Include paxlib.h instead of paxerror.h (safer_name_suffix,removed_prefixes_p): Removed. The functions are imported from paxutils Sergey Poznyakoff 2005-05-21 23:10:57 +00:00
  • f2c8b1dff3 Update invocations of safer_name_suffix() Sergey Poznyakoff 2005-05-21 23:10:42 +00:00
  • 9129c846e7 Add new paxutils files Sergey Poznyakoff 2005-05-21 23:09:42 +00:00
  • df0913f3fe Updated Sergey Poznyakoff 2005-05-21 23:09:16 +00:00
  • e20fdceb38 Updated Sergey Poznyakoff 2005-05-19 15:35:14 +00:00
  • 5c35fdb275 Remove defines and declarations imported from paxutils Sergey Poznyakoff 2005-05-19 15:34:19 +00:00
  • 113b619383 Add paxerror.c paxexit.c paxconvert.c Sergey Poznyakoff 2005-05-19 15:33:45 +00:00
  • 517205c31c (libtar_a_SOURCES): Add paxerror.c paxexit.c paxconvert.c Sergey Poznyakoff 2005-05-19 15:33:17 +00:00
  • dfabe2397a Remove checking for LIB_SETSOCKOPT, it is handled by paxutils Sergey Poznyakoff 2005-05-19 15:32:56 +00:00
  • 8f1f0955cf (copy_files): Accept optional third argument: a prefix to be appended to destination file names. Import paxutils/paxlib files. Sergey Poznyakoff 2005-05-19 15:32:38 +00:00
  • 1672258959 * src/misc.c (remove_any_file): Fix typo in previous change. Paul Eggert 2005-05-17 08:34:16 +00:00
  • c172481f41 (remove_any_file): Fix typo in previous change. Paul Eggert 2005-05-17 08:34:03 +00:00
  • 46f09016e8 Port to Solaris 10's treatment of unlinking directories. * gnulib-modules: Add unlinkdir. * lib/.cvsignore: Add unlinkdir.h, unlinkdir.c. * src/common.h (we_are_root): Remove extern decl; it's now static. * src/extract.c (we_are_root): Now static. * src/misc.c: Include <unlinkdir.h>. (remove_any_file): Use cannot_unlink_dir () rather than we_are_root. Paul Eggert 2005-05-15 06:23:49 +00:00
  • 120e96c480 Update FSF postal mail address. Paul Eggert 2005-05-15 03:59:08 +00:00
  • 271ed97494 Updated Sergey Poznyakoff 2005-05-12 15:46:40 +00:00
  • 3ac99bc540 Updated Sergey Poznyakoff 2005-05-12 15:46:18 +00:00
  • a33b37a9a3 Add truncate.at Sergey Poznyakoff 2005-05-12 15:40:07 +00:00
  • c9365a1d09 New test case Sergey Poznyakoff 2005-05-12 15:39:54 +00:00
  • 8d064bb816 (file_newer_p): Return false if file does not exist Sergey Poznyakoff 2005-05-12 15:39:34 +00:00
  • 29c902bc49 (dump_regular_file): Correctly pad archive members that shrunk during archiving. Repored by Frank Heckenbach. Sergey Poznyakoff 2005-05-12 15:39:21 +00:00
  • d78f85d61d (diff_file): diff_handle was not initialized Sergey Poznyakoff 2005-05-12 15:39:02 +00:00
  • 73be90ea0d (Genfile): New appendix Sergey Poznyakoff 2005-05-12 15:38:48 +00:00
  • 9adc789138 (tar_TEXINFOS): Add genfile.texi Sergey Poznyakoff 2005-05-12 15:38:37 +00:00
  • cfe4eef5c2 Install files from paxutils/doc Sergey Poznyakoff 2005-05-12 15:38:27 +00:00
  • 0e61fd397f Updated Sergey Poznyakoff 2005-05-12 15:38:19 +00:00
  • bb8dcc1e8c Update copyright. Paul Eggert 2005-05-02 08:05:59 +00:00
  • 87bd7f5d1c Update copyright. Paul Eggert 2005-05-02 08:05:23 +00:00
  • ecac16a4a0 * src/incremen.c (hash_directory): Likewise. * src/names.c (hash_string_hasher): Likewise. * src/tar.c (parse_opt): Set it, and adjust to new modechange API. Paul Eggert 2005-05-02 08:03:02 +00:00
  • 89a4824c73 Tell awk to read from /dev/null. Paul Eggert 2005-05-02 08:02:35 +00:00
  • 9b7c6df82b Adjust to new hash API. Paul Eggert 2005-05-02 08:02:09 +00:00
  • e2c431e9c2 Adjust to recent gnulib changes. Paul Eggert 2005-05-02 07:36:26 +00:00
  • 82c746410d (parse_opt): Adjust to new modechange API. Paul Eggert 2005-05-02 07:36:09 +00:00
  • 2e025f2dea (start_ueader): Adjust to new modechange API. Paul Eggert 2005-05-02 07:35:47 +00:00
  • f2e17c0d8c (initial_umask): New var. Paul Eggert 2005-05-02 07:34:53 +00:00
  • ed08ef0458 Add dup-safer.c, fd-safer.c, unistd-safer.h. Paul Eggert 2005-05-02 07:34:26 +00:00
  • 3ab983facf Updated Sergey Poznyakoff 2005-04-19 09:06:07 +00:00
  • 6c6fe16aaa Add shortrec.at Sergey Poznyakoff 2005-04-19 09:05:32 +00:00
  • 27b98aa8ae * src/buffer.c (reading_from_pipe): Remove. All uses removed. (short_read): Don't warn about short reads; they're normal. * tests/shortrec.at: New file. * tests/testsuite.at: Include it. Paul Eggert 2005-04-18 18:21:50 +00:00
  • 18850a18f1 (gnulib_modules): Don't create a file modlist.tmp, as it is sometimes left behind as a garbage file (maybe due to the multiple traps?). Paul Eggert 2005-04-18 18:14:58 +00:00
  • 005d0d455c Use UTF-8 uniformly, rather than UTF-8 sometimes and Latin-1 sometimes. Paul Eggert 2005-04-16 07:22:13 +00:00
  • a71807a247 Updated Sergey Poznyakoff 2005-04-14 13:14:56 +00:00
  • d7af510d49 (SOLARIS_XHDTYPE): New define Sergey Poznyakoff 2005-04-14 13:14:38 +00:00
  • ef0e611663 Handle Solaris 'X' type flag Sergey Poznyakoff 2005-04-14 13:14:23 +00:00
  • 8f9ecca0db Updated Sergey Poznyakoff 2005-04-07 17:29:45 +00:00
  • 9147c6c9f6 Add multiv04.at Sergey Poznyakoff 2005-04-07 17:28:53 +00:00
  • ee738da4a8 Test splittind directory members between the archive volumes. Sergey Poznyakoff 2005-04-07 17:28:34 +00:00
  • 42e53a98e1 Modified to match the new behavior Sergey Poznyakoff 2005-04-07 17:27:30 +00:00
  • 2d34da98d5 Assign orig_file_name to save_name uniformly over the program. This fixes matching directory names at the start of an archive volume. Sergey Poznyakoff 2005-04-07 17:27:07 +00:00
  • 781d3818e5 (diff_init): Read directory file if in listed incremental. This prevents spurious 'Contents differ' diagnostics. (diff_archive): Minor fixes to text messages (diff_file,diff_dumpdir,diff_multivol): Assign orig_file_name to save_name uniformly over the program. This fixes matching directory names at the start of an archive volume. Sergey Poznyakoff 2005-04-07 17:26:42 +00:00
  • c861b96651 (flush_write): Warn when the name of the archive straddling volume boundary is longer than 100 characters. Earlier behavior was to issue a fatal error. (struct zip_magic): Reverted part of changes from 2005-04-04. They make the maintenance too costly. Removing unsigned' qualifier from magic' member should be enough. Sergey Poznyakoff 2005-04-07 17:26:11 +00:00
  • 2872a5ae81 Minor fixes to text messages. Proposed by Benno Schulenberg. (extract_file): Assign orig_file_name to save_name uniformly over the program. This fixes matching directory names at the start of an archive volume. Sergey Poznyakoff 2005-04-07 17:25:29 +00:00
  • 62599b5285 Minor fixes to text messages. Proposed by Benno Schulenberg. Sergey Poznyakoff 2005-04-07 17:24:56 +00:00
  • 263604c2ec Sort and simplify. Paul Eggert 2005-04-04 18:46:00 +00:00
  • 7ebf107f89 Update copyright date. Paul Eggert 2005-04-04 18:37:52 +00:00
  • 5fe7f641e8 Rename config/ to build-aux/. Paul Eggert 2005-04-04 18:35:53 +00:00
  • dbf96ec903 Spelling fixes. Paul Eggert 2005-04-04 18:31:44 +00:00
  • 5d87077565 * src/buffer.c: Fix struct zip_magic to avoid problems with pedantic C compilers. Make 'magic' const and redo it to save alignment and space. Paul Eggert 2005-04-04 18:22:44 +00:00
  • 7d4bd5b38d (struct zip_magic): Use char arrays, not pointers. The unsigned char * pointer ran afoul of pedantic C compilers, and we didn't need pointers anyway. Put the size field before the data to avoid unnecessary padding. All uses changed. (magic) Make it const, since it doesn't change. All uses changed. Paul Eggert 2005-04-04 18:21:55 +00:00
  • ad0bd3c9c4 * src/xheader.c (decode_record): Don't dump core when given a corrupted extended header. Paul Eggert 2005-04-02 06:39:37 +00:00
  • 95fa3422d7 (decode_record): Don't dump core when given a corrupted extended header. Problem reported by Jim Meyering. Also, check for other ways that the header might be invalid, e.g., missing newline at end. Do not allow keys with nulls. Allow blanks before and after length, as POSIX requires. Do not allow leading "-" in length. Check for length overflow. (xheader_decode, xheader_decode_global): Let decode_record check for exhaustion of record. (xheader_read): Null-terminate the extended record; decode_record relies on this. Paul Eggert 2005-04-02 06:39:19 +00:00
  • 67c7284d07 * bootstrap (TP_URL): Change from <http://www2.iro.umontreal.ca/~gnutra/po/maint/tar/> to <http://www.iro.umontreal.ca/translation/maint/tar/> to avoid some redirection glitches. Use "trap - 0" rather than "trap 0" to fix a POSIX-conformance bug. * doc/.cvsignore: Change "tar.info" to "tar.info*". Sort. Paul Eggert 2005-03-21 21:56:02 +00:00
  • 6811232d8f Updated Sergey Poznyakoff 2005-03-03 23:17:07 +00:00
  • fdbb1d8c7c (restore_fs): Use root_fs Sergey Poznyakoff 2005-03-03 23:16:03 +00:00
  • f04c7701fa Use `head -n 1'. Provide missing argument to ${MT_STATUS}. Fixed typo in MT_OFFLINE assignment. Proposed by Jan Merka. Sergey Poznyakoff 2005-03-03 23:14:52 +00:00
  • 63e90fdc62 Use `head -n 1'. Provide missing argument to ${MT_STATUS}. Proposed by Jan Merka. Sergey Poznyakoff 2005-03-03 23:14:23 +00:00
  • b320151a23 (sparse_scan_file): Bugfix. offset had incorrect type. Sergey Poznyakoff 2005-03-03 23:13:30 +00:00
  • 9fc348aae9 Correctly parse empty uname/gname Sergey Poznyakoff 2005-03-03 23:13:14 +00:00
  • 0fd49f51a0 (print_header): Print UID/GID in case of empty user/group name. This could occur when dumping files belonging to non-existing users and when listing broken archives. Reported by Igor Lautar. Sergey Poznyakoff 2005-03-03 23:13:04 +00:00
  • 002cd6843a Updated Sergey Poznyakoff 2005-02-15 15:25:14 +00:00
  • b4fb3e9f74 Use -print with find Sergey Poznyakoff 2005-02-15 15:24:51 +00:00
  • 549a691ada Replace strdup with xstrdup Sergey Poznyakoff 2005-02-15 15:24:35 +00:00
  • e7e66c4426 Updated Sergey Poznyakoff 2005-02-15 14:47:06 +00:00
  • ea9df3c243 Added reference to bug-tar archive Sergey Poznyakoff 2005-02-15 14:46:16 +00:00
  • 1d804e4f68 Updated Sergey Poznyakoff 2005-02-10 22:53:22 +00:00
  • eaa66dc858 Added append01.at Sergey Poznyakoff 2005-02-10 22:52:13 +00:00
  • a66ab8591f Test appending of files with long names Sergey Poznyakoff 2005-02-10 22:52:00 +00:00
  • 6e63133691 (read_header): Removed assignment to oldgnu_header.isextended. It was breaking append mode. Sergey Poznyakoff 2005-02-10 22:51:21 +00:00
  • b480196651 Added Tim Adye. Fixed UTF. Sergey Poznyakoff 2005-02-10 22:51:04 +00:00
  • 371af209a7 Updated Sergey Poznyakoff 2005-02-06 20:02:23 +00:00
  • 5c2e32780e Various fixes in help and diagnostic messages Sergey Poznyakoff 2005-02-06 20:01:22 +00:00
  • 4d8ddc720e Merge list of required modules from paxutils with that from tar proper Sergey Poznyakoff 2005-02-06 20:00:56 +00:00
  • 5f405b1a2d List of required gnulib modules. Sergey Poznyakoff 2005-02-06 20:00:09 +00:00
  • ef68503367 Updated Sergey Poznyakoff 2005-02-05 22:25:50 +00:00
  • 64ba4757bc Reverted changes Sergey Poznyakoff 2005-02-05 22:08:49 +00:00
  • cd02b0855c (options): Improved sorting. Document --backup=off. (decode_options): Clear backup_option if necessary. Sergey Poznyakoff 2005-02-05 22:03:10 +00:00
  • 35bb355734 (sys_exec_command): Use xclose, xpipe, xfork, xdup2 and exec_fatal. Sergey Poznyakoff 2005-02-05 22:02:08 +00:00
  • fa63755f6b (exec_error,fork_error,dup2_error,pipe_error): Removed unneeded functions. Sergey Poznyakoff 2005-02-05 22:01:49 +00:00
  • ea12939af0 (extract_archive): Do not check for EXTRACT_OVER_PIPE, decode_options() does this. Sergey Poznyakoff 2005-02-05 22:01:08 +00:00
  • 9a71d32d2f Code clean up. Sergey Poznyakoff 2005-02-05 22:00:48 +00:00
  • 6609c2a607 (EXTRACT_OVER_PIPE): New macro Sergey Poznyakoff 2005-02-05 22:00:29 +00:00
  • c580a1c407 Updated Sergey Poznyakoff 2005-02-05 10:49:26 +00:00
  • 91ce177fc7 Added Hansjoerg Lipp Sergey Poznyakoff 2005-02-05 10:35:46 +00:00
  • 4d24adbecb Handle new options --to-command,--ignore-command-error Sergey Poznyakoff 2005-02-05 10:35:18 +00:00