Commit Graph

1584 Commits

Author SHA1 Message Date
Sergey Poznyakoff 6c6fe16aaa Add shortrec.at 2005-04-19 09:05:32 +00:00
Paul Eggert 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.
2005-04-18 18:21:50 +00:00
Paul Eggert 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?).
2005-04-18 18:14:58 +00:00
Paul Eggert 005d0d455c Use UTF-8 uniformly, rather than UTF-8 sometimes and Latin-1 sometimes. 2005-04-16 07:22:13 +00:00
Sergey Poznyakoff a71807a247 Updated 2005-04-14 13:14:56 +00:00
Sergey Poznyakoff d7af510d49 (SOLARIS_XHDTYPE): New define 2005-04-14 13:14:38 +00:00
Sergey Poznyakoff ef0e611663 Handle Solaris 'X' type flag 2005-04-14 13:14:23 +00:00
Sergey Poznyakoff 8f9ecca0db Updated 2005-04-07 17:29:45 +00:00
Sergey Poznyakoff 9147c6c9f6 Add multiv04.at 2005-04-07 17:28:53 +00:00
Sergey Poznyakoff ee738da4a8 Test splittind directory members between the archive volumes. 2005-04-07 17:28:34 +00:00
Sergey Poznyakoff 42e53a98e1 Modified to match the new behavior 2005-04-07 17:27:30 +00:00
Sergey Poznyakoff 2d34da98d5 Assign orig_file_name
to save_name uniformly over the program. This fixes matching
directory names at the start of an archive volume.
2005-04-07 17:27:07 +00:00
Sergey Poznyakoff 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.
2005-04-07 17:26:42 +00:00
Sergey Poznyakoff 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.
2005-04-07 17:26:11 +00:00
Sergey Poznyakoff 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.
2005-04-07 17:25:29 +00:00
Sergey Poznyakoff 62599b5285 Minor fixes to text messages. Proposed by Benno Schulenberg. 2005-04-07 17:24:56 +00:00
Paul Eggert 263604c2ec Sort and simplify. 2005-04-04 18:46:00 +00:00
Paul Eggert 7ebf107f89 Update copyright date. 2005-04-04 18:37:52 +00:00
Paul Eggert 5fe7f641e8 Rename config/ to build-aux/. 2005-04-04 18:35:53 +00:00
Paul Eggert dbf96ec903 Spelling fixes. 2005-04-04 18:31:44 +00:00
Paul Eggert 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.
2005-04-04 18:22:44 +00:00
Paul Eggert 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.
2005-04-04 18:21:55 +00:00
Paul Eggert ad0bd3c9c4 * src/xheader.c (decode_record): Don't dump core when given
a corrupted extended header.
2005-04-02 06:39:37 +00:00
Paul Eggert 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.
2005-04-02 06:39:19 +00:00
Paul Eggert 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.
2005-03-21 21:56:02 +00:00
Sergey Poznyakoff 6811232d8f Updated 2005-03-03 23:17:07 +00:00
Sergey Poznyakoff fdbb1d8c7c (restore_fs): Use root_fs 2005-03-03 23:16:03 +00:00
Sergey Poznyakoff f04c7701fa Use `head -n 1'. Provide missing argument to ${MT_STATUS}. Fixed typo in MT_OFFLINE assignment. Proposed by Jan Merka. 2005-03-03 23:14:52 +00:00
Sergey Poznyakoff 63e90fdc62 Use `head -n 1'. Provide missing argument to ${MT_STATUS}. Proposed by Jan Merka. 2005-03-03 23:14:23 +00:00
Sergey Poznyakoff b320151a23 (sparse_scan_file): Bugfix. offset had incorrect type. 2005-03-03 23:13:30 +00:00
Sergey Poznyakoff 9fc348aae9 Correctly parse empty uname/gname 2005-03-03 23:13:14 +00:00
Sergey Poznyakoff 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.
2005-03-03 23:13:04 +00:00
Sergey Poznyakoff 002cd6843a Updated 2005-02-15 15:25:14 +00:00
Sergey Poznyakoff b4fb3e9f74 Use -print with find 2005-02-15 15:24:51 +00:00
Sergey Poznyakoff 549a691ada Replace strdup with xstrdup 2005-02-15 15:24:35 +00:00
Sergey Poznyakoff e7e66c4426 Updated 2005-02-15 14:47:06 +00:00
Sergey Poznyakoff ea9df3c243 Added reference to bug-tar archive 2005-02-15 14:46:16 +00:00
Sergey Poznyakoff 1d804e4f68 Updated 2005-02-10 22:53:22 +00:00
Sergey Poznyakoff eaa66dc858 Added append01.at 2005-02-10 22:52:13 +00:00
Sergey Poznyakoff a66ab8591f Test appending of files with long names 2005-02-10 22:52:00 +00:00
Sergey Poznyakoff 6e63133691 (read_header): Removed assignment to oldgnu_header.isextended. It was breaking append mode. 2005-02-10 22:51:21 +00:00
Sergey Poznyakoff b480196651 Added Tim Adye. Fixed UTF. 2005-02-10 22:51:04 +00:00
Sergey Poznyakoff 371af209a7 Updated 2005-02-06 20:02:23 +00:00
Sergey Poznyakoff 5c2e32780e Various fixes in help and diagnostic messages 2005-02-06 20:01:22 +00:00
Sergey Poznyakoff 4d8ddc720e Merge list of required modules from paxutils with that from tar proper 2005-02-06 20:00:56 +00:00
Sergey Poznyakoff 5f405b1a2d List of required gnulib modules. 2005-02-06 20:00:09 +00:00
Sergey Poznyakoff ef68503367 Updated 2005-02-05 22:25:50 +00:00
Sergey Poznyakoff 64ba4757bc Reverted changes 2005-02-05 22:08:49 +00:00
Sergey Poznyakoff cd02b0855c (options): Improved sorting. Document --backup=off.
(decode_options): Clear backup_option if necessary.
2005-02-05 22:03:10 +00:00
Sergey Poznyakoff 35bb355734 (sys_exec_command): Use xclose, xpipe, xfork, xdup2 and exec_fatal. 2005-02-05 22:02:08 +00:00