From: Bdale Garbee Date: Wed, 10 Mar 2010 16:33:01 +0000 (-0700) Subject: Imported Upstream version 1.23 X-Git-Tag: upstream/1.23^0 X-Git-Url: https://git.gag.com/?p=debian%2Ftar;a=commitdiff_plain;h=22f1eb8bc17e5be72dd23d42d6aaa60196ac22e6 Imported Upstream version 1.23 --- diff --git a/ChangeLog b/ChangeLog index 41227f59..23bef2da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,773 @@ +2010-03-10 Sergey Poznyakoff + + Version 1.23 + * configure.ac, NEWS: Update version number. + + Doc changes. + * NEWS: Update. + * THANKS: Update. + * doc/snapshot.texi, doc/snapshot.texi, + doc/sparse.texi, doc/tar-snapshot-edit.texi, + doc/tar.texi: Spellchecked and proof-read. Thanks + to Denis Excoffier. + * gnulib.modules: Remove utime. + +2010-03-08 Kamil Dudka + + Fix possible overflow in code_timespec (tiny change) + * src/misc.c (code_timespec): ignore invalid values of ns + +2010-03-08 Sergey Poznyakoff + + Minor fix in the testsuite. + * tests/extrac05.at: Skip test if creating + sparse file fails. + + Fix eventual memory override and fd exhaustion in create.c + Both bugs reported by Kamil Dudka. + + * src/create.c (check_exclusion_tags): Do not keep + pointer to a location within tagname: it may change + after xrealloc. Use byte offset instead. + (dump_file0): Close fd before returning without + dumping the directory. + +2010-03-02 Sergey Poznyakoff + + Minor change. + * doc/tar.texi: Improve some wording. + +2010-03-02 Antonio Diaz Diaz + + Add Lzip support + * configure.ac: Add TAR_COMPR_PROGRAM(lzip) + * doc/tar.texi: Reflect lzip support. + * src/buffer.c (compress_type) : New constant. + (magic): Add magic for lzip. + * src/suffix.c (compression_suffixes): Add lz. + * src/tar.c: New option --lzip. + +2010-03-02 Sergey Poznyakoff + + Minor fix. + * tests/exclude05.at: Rewrite awk invocation to avoid + overflowing awk's file table on Solaris. + +2010-03-02 Eric Blake + + Fix large file support. + * scripts/xsparse.c (read_map): Use fseeko. + * src/incremen.c (write_directory_file): Likewise. + +2010-03-02 Sergey Poznyakoff + + Bugfix + * src/buffer.c (seek_archive): Rewrite size computation + to prevent it from reaching negative values. Based on + report by Denis Excoffier . + +2010-02-25 Sergey Poznyakoff + + Supply more information to the --to-command script. + * src/system.c (stat_to_env): Pass information about the current + volume in variables TAR_ARCHIVE, TAR_VOLUME, TAR_BLOCKING_FACTOR, + TAR_FORMAT. + * doc/tar.texi: Document new environment variables. + * NEWS: Likewise. + * configure.ac: Version number 1.22.91. + +2010-02-17 Sergey Poznyakoff + + Minor change. + * src/names.c (regex_usage_warning): Fix warning message. + +2010-02-05 Sergey Poznyakoff + + Update THANKS + +2010-02-05 Ondřej Vašík + + Bugfix (tiny change) + * src/xheader.c (xheader_read): Remove unnecessary call + to xheader_init. + +2010-01-26 Sergey Poznyakoff + + Enable silent build mode. + * configure.ac: Require automake 1.11, autoconf 2.63. Enable + silent rules. + * NEWS: Update. + * lib/Makefile.am (rmt-command.h): Silent the rule. + +2010-01-25 Sergey Poznyakoff + + Read POSIX multivolume archives split at the header boundary. + * src/common.h (read_header_mode): New enum. + (read_header): Change type of the 3rd argument. + * src/list.c (read_header): Change type of the 3rd argument. + All callers updated. + * src/buffer.c (try_new_volume): Allow for volumes split at the + extended/ustar header boundary. This is against POSIX specs, but + we must be able to read such archives anyway. + + * tests/multiv07.at: New test case. + * tests/Makefile.am: Add multiv07.at + * tests/testsuite.at: Likewise. + + * src/compare.c: Update calls to read_header. + * src/delete.c: Likewise. + * src/update.c: Likewise. + +2010-01-24 Sergey Poznyakoff + + Minor change. + * NEWS: Update. + * doc/tar.texi: Update. + * src/create.c (finish_header): Minor change. + +2010-01-24 Rob Vermaas + + Bugfix (tiny change). + * src/tar.c (format_default_settings)[REMOTE_SHELL]: Fix + misplaced comma. + +2010-01-24 Sergey Poznyakoff + + Minor fix. + * src/incremen.c (read_incr_db_01) + (read_directory_file): Initialize bufsize to 0. + Suggested by noordsij@cs.helsinki.fi. + + Improve handling of --test-label. + * src/list.c (print_volume_label): New function. + (print_header): Call print_volume_label. + (test_archive_label): New function. + * src/buffer.c (VOLUME_LABEL_APPEND): Remove. + (VOLUME_TEXT, VOLUME_TEXT_LEN): New macros + (drop_volume_label_suffix): New function. + (check_label_pattern): Use drop_volume_label_suffix. + * src/common.h (subcommand): New constant TEST_LABEL_SUBCOMMAND. + (test_label_option): Remove. + (drop_volume_label_suffix): New proto. + (test_archive_label): New proto. + * src/names.c (all_names_found): Remove test for + test_label_option. + * src/tar.c (subcommand_string): Handle TEST_LABEL_SUBCOMMAND. + (set_subcommand_option): Improve diagnostics. + (parse_opt): Set subcommand if --test-label is given. + (main): Handle TEST_LABEL_SUBCOMMAND. + + Fix listing of volume labels (in particular in PAX archives). + * src/buffer.c (match_volume_label): Call set_volume_label. + (check_label_pattern): Get label string + as argument. + (match_volume_label): Handle volume labels stored in + global PAX headers. + * src/common.c (print_header,read_header): Change signature. + (read_header_primitive): Remove prototype. + * src/list.c (recent_global_header): New static. + (list_archive): Always print volume labels. + (read_header_primitive): Remove. + (read_header): Change the signature (all callers updated) + Save the recent global header. + (volume_label_printed): New static. + (simple_print_header): New function (ex-print_header). + (print_header): Change the signature (all callers updated). + For POSIX formats, print first volume header (if set). + * src/xheader.c (xheader_write_global): Write the data + accumulated in xhdr->stk even if keyword_global_override_list + is empty. + (xheader_read): On unexpected EOF, report error instead of + coredumping. + (XHDR_PROTECTED, XHDR_GLOBAL): New defines. + (struct xhdr_tab): Remove `protected' with `flags'. All uses + updated. + (decg): If XHDR_GLOBAL bit is set, call the keyword's decode + method instead of adding it to `kwl'. + + * src/compare.c: Update calls to read_header. + * src/create.c: Likewise. + * src/delete.c: Likewise. + * src/update.c: Likewise. + * src/extract.c: Likewise. + (extract_volhdr): Do not print "Reading