Commit Graph

1604 Commits

Author SHA1 Message Date
Sergey Poznyakoff a33b37a9a3 Add truncate.at 2005-05-12 15:40:07 +00:00
Sergey Poznyakoff c9365a1d09 New test case 2005-05-12 15:39:54 +00:00
Sergey Poznyakoff 8d064bb816 (file_newer_p): Return false if file does not exist 2005-05-12 15:39:34 +00:00
Sergey Poznyakoff 29c902bc49 (dump_regular_file): Correctly pad archive members that shrunk during archiving. Repored by Frank Heckenbach. 2005-05-12 15:39:21 +00:00
Sergey Poznyakoff d78f85d61d (diff_file): diff_handle was not initialized 2005-05-12 15:39:02 +00:00
Sergey Poznyakoff 73be90ea0d (Genfile): New appendix 2005-05-12 15:38:48 +00:00
Sergey Poznyakoff 9adc789138 (tar_TEXINFOS): Add genfile.texi 2005-05-12 15:38:37 +00:00
Sergey Poznyakoff cfe4eef5c2 Install files from paxutils/doc 2005-05-12 15:38:27 +00:00
Sergey Poznyakoff 0e61fd397f Updated 2005-05-12 15:38:19 +00:00
Paul Eggert bb8dcc1e8c Update copyright. 2005-05-02 08:05:59 +00:00
Paul Eggert 87bd7f5d1c Update copyright. 2005-05-02 08:05:23 +00:00
Paul Eggert 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.
2005-05-02 08:03:02 +00:00
Paul Eggert 89a4824c73 Tell awk to read from /dev/null. 2005-05-02 08:02:35 +00:00
Paul Eggert 9b7c6df82b Adjust to new hash API. 2005-05-02 08:02:09 +00:00
Paul Eggert e2c431e9c2 Adjust to recent gnulib changes. 2005-05-02 07:36:26 +00:00
Paul Eggert 82c746410d (parse_opt): Adjust to new modechange API. 2005-05-02 07:36:09 +00:00
Paul Eggert 2e025f2dea (start_ueader): Adjust to new modechange API. 2005-05-02 07:35:47 +00:00
Paul Eggert f2e17c0d8c (initial_umask): New var. 2005-05-02 07:34:53 +00:00
Paul Eggert ed08ef0458 Add dup-safer.c, fd-safer.c, unistd-safer.h. 2005-05-02 07:34:26 +00:00
Sergey Poznyakoff 3ab983facf Updated 2005-04-19 09:06:07 +00:00
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