X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=ChangeLog;h=2e86bbeeafe266dcc835d8211b34331f2d4b16cd;hb=44283eb6cab1d0faf5e446b092f0d5c03ee50b69;hp=284041ef398cf688718cdbf7000afdf039682071;hpb=240a4ed90aeec8825259d515a7c81e6921dc7200;p=chaz%2Ftar diff --git a/ChangeLog b/ChangeLog index 284041e..2e86bbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,195 @@ +2004-08-31 Sergey Poznyakoff + + * src/sparse.c (sparse_add_map): Fixed improper initializations + of sparse_map_size. We assume that whatever number it contains + describes adequately the current size of sparse_map. The only + number we need to reset is sparse_map_avail. + * src/compare.c (verify_volume): Call set_next_block_after + if read_header returns HEADER_FAILURE + Destroy and reinitialize content of current_stat_info and + extended_header after each iteration (bug reported by + John L. Males ). + Issue a warning if the created archive contains some members + whose file names were stripped off their leading prefixes. + This is a temporary fix of the issue reported by Bdale Garbee + (Refs: Debian bug 230064, Message-Id + <87n07kyzhi.fsf@rover.gag.com>, Sun, 15 Feb 2004 11:22:17 -0700) + + * src/names.c (removed_prefixes_p): New function. + + * src/buffer.c: When computing write rate do not take + into account the time needed to verify the archive(s). + The bug reported by John L. Males + (set_start_time,compute_duration): New functions. + (print_total_written): Use the result of compute_duration(). + (close_archive): Call compute_duration. + * src/common.h (set_start_time, removed_prefixes_p): New prototypes. + * src/list.c (decode_header): Fixed initialization + of stat_info->is_sparse + * src/tar.c (main): Call set_start_time(). + + * src/misc.c (unquote_string): Unquote '\a' and '\v'. + Reported by Helmut Waitzmann . + + * NEWS: Updated + * THANKS: Updated + +2004-08-30 Sergey Poznyakoff + + * src/tar.c: Fix copy-n-paste errors in the license + +2004-08-19 Sergey Poznyakoff + + * scripts/backup.in: Renamed LIBPATH to LIBDIR. + Use ROOT_FS with -C option. Do not send mail + if ADMINISTRATOR is set to NONE. + * scripts/backup.sh.in (test_root): Append / to + ROOT_FS if it does not already end in it. + * scripts/restore.in: Renamed LIBPATH to LIBDIR. + New option -a (--all). Do not start restore unless + -a or patterns are given. + (restore_fs,restore_files): Fixed use of --listed option. + * doc/tar.texi: Updated + * NEWS: Updated + +2004-08-17 Sergey Poznyakoff + + * src/tar.c (find_argp_option): Fixed typo + +2004-08-12 Paul Eggert + + Merge argp, getopt, xalloc changes from gnulib. + * bootstrap (gnulib_modules): Add xalloc-die. + Remove code to test for patches; we don't have patches now. + Set LC_ALL=C so that file names sort consistently. + Prefer the gnulib copies of gettext.m4, glibc21.m4, + lib-ld.m4, lib-prefix.m4, po.m4 too. + + * patches/getopt.diff: Remove; gnulib now works unpatched. + * configure.ac (_getopt_long_only_r): Remove check. + gl_ARGP now does this for us. + * lib/.cvsignore: Add fnmatch.h, getopt_.h, sysexit.h, + xalloc-die.c. + * src/extract.c: Adjust to changes to gnulib xalloc module. + (extr_init): Remove assignment to xalloc_fail_func; no longer needed. + (xalloc_die): New function. + +2004-08-10 Sergey Poznyakoff + + * NEWS: Updated + + * src/buffer.c (flush_write): Limit filenames + of the members that straddle multivolume archive + boundary to 100 characters. + (flush_read): Use strncmp when comparing multivolume member + names. + * tests/multiv03.sh: New file + * tests/Makefile.am: Added multiv03.sh + +2004-08-09 Sergey Poznyakoff + + * src/list.c (read_and): Call decode_header before + calling skip_member() + (skip_member): Use is_sparse field to determine if the + member is a sparse file. + + * tests/Makefile.am: Added extrac05.sh + * tests/extrac05.sh: New file + * tests/append.sh: Rearranged leading comments. Added explicit + references to report messages wherever available. + * tests/delete01.sh: Likewise + * tests/delete02.sh: Likewise + * tests/delete03.sh: Likewise + * tests/delete04.sh: Likewise + * tests/extrac01.sh: Likewise + * tests/extrac02.sh: Likewise + * tests/extrac03.sh: Likewise + * tests/extrac04.sh: Likewise + * tests/gzip.sh: Likewise + * tests/ignfail.sh: Likewise + * tests/incremen.sh: Likewise + * tests/link01.sh: Likewise + * tests/listed01.sh: Likewise + * tests/longv7.sh: Likewise + * tests/multiv01.sh: Likewise + * tests/multiv02.sh: Likewise + * tests/old.sh: Likewise + * tests/options.sh: Likewise + * tests/recurse.sh: Likewise + * tests/same-order01.sh: Likewise + * tests/same-order02.sh: Likewise + * tests/sparse01.sh: Likewise + * tests/version.sh: Likewise + * tests/volume.sh: Likewise + +2004-08-08 Sergey Poznyakoff + + * bootstrap: Extended --update-po option to take an + optional argument specifying the po file to update. + * src/create.c: Improved compatibility with 1.13.25 + * tests/link01.sh: New file. + * tests/Makefile.am: Added link01.sh + +2004-08-06 Paul Eggert + + Merge from gnulib. + + * patches/argp.diff: Remove; no longer needed. + + * lib/.cvsignore: Add stat-macros.h. + Remove addext.c, malloc.c, realloc.c. + + * src/extract.c: Include . + (extract_archive): Rewrite with new macro IS_ABSOLUTE_FILE_NAME. + * src/extract.c (make_directories): + FILESYSTEM_PREFIX_LEN -> FILE_SYSTEM_PREFIX_LEN. + * src/misc.c (must_be_dot_or_slash): Likewise. + * src/names.c (excluded_name, safer_name_suffix, stripped_prefix_len): + Likewise. + * src/tar.c (parse_opt): Likewise. + * src/incremen.c (purge_directory): Fix format buffer typos in warning + strings. + * src/tar.c (options): Add missing initializers to pacify gcc. + (decode_options): Remove unused var. + +2004-08-02 Paul Eggert + + * bootstrap (gnulib_modules): Add getpagesize. + * configure.ac (valloc): Remove check; valloc no longer used. + * lib/.cvsignore: Add getpagesize.h. + * m4/.cvsignore: Add getpagesize.m4. + * src/buffer.c (record_buffer): New var. + (open_archive): Don't use valloc; on older or buggy hosts, you can't + free the result. Use page_aligned_alloc instead. + * src/compare.c (diff_init): Likewise. + * src/buffer.c (open_archive): Record the pointer to be freed + into record_buffer. + (close_archive): Free record_buffer. + * src/common.h (page_aligned_alloc): New decl. + * src/misc.c (quote_n, quote): Remove these redundant functions. + (ptr_align): New function, from coreutils/src/system.h. + (page_aligned_alloc): New function. + * src/system.h (valloc): Remove. + +2004-07-09 Paul Eggert + + * src/extract.c (extract_archive): Do not report an error + when hard-linking X to X when X exists. Problem reported by + Toby Peterson. + * lib/.cvsignore: Add fchown-stub.c. + +2004-06-29 Sergey Poznyakoff + + * NEWS: Updated + * src/common.h (root_device): New global. + (gnu_restore): Renamed to purge_directory(). + * src/extract.c (extr_init): Save the device number + of the root device. + (extract_archive): Renamed gnu_restore() to purge_directory(). + * src/incremen.c (gnu_restore): Renamed to purge_directory(). + Do not attempt to purge the directory if it is on a different + device and one_file_system_option is set. + 2004-06-25 Sergey Poznyakoff * doc/tar.texi: The actual default for exclude patterns @@ -22,11 +214,11 @@ (options): New option -n (--seek). * src/update.c: Determine type of the archive before appending to it. - + * TODO: Updated. 2004-05-19 Sergey Poznyakoff - + * bootstrap: New option --update-po * src/tar.c: New option -H (short alias to --format) * doc/tar.texi: Document -H option @@ -78,23 +270,23 @@ dated 2004-03-22. * src/buffer.c (open_archive): Removed assignment to read_full_records_option. - + * src/names.c (safer_name_suffix): (safer_name_suffix): Use "%s" as the format argument, rather than a possibly-translated variable string. Patch provided by Jim Meyering * src/tar.c (decode_options): Fixed typo in the comment. * tests/star/README: Minor correction - + 2004-05-11 Sergey Poznyakoff - + * directory: New file. GNU directory entry for tar. * doc/Makefile.am: Rewritten. Added rules for generating documentation for the project's website. * doc/.cvsignore: Updated * doc/index.html.in: New file. - + 2004-05-11 Sergey Poznyakoff - + * configure.ac: Raised version number to 1.14 * NEWS: Updated. * tests/after: Added copyleft statement @@ -103,7 +295,7 @@ Tar 1.14 is released. Sources up to this point are tagged release_1_14 - + 2004-05-10 Sergey Poznyakoff * configure.ac: Fixed prerequisite headers for sys/buf.h @@ -134,7 +326,7 @@ * src/list.c (read_and): Print block number before issuing 'Skipping to next header' diagnostics, if requested by block_number_option. - * src/rtapelib.c: Use rmt_command_option instead of + * src/rtapelib.c: Use rmt_command_option instead of hardcoded "/etc/rmt". * src/tar.c: New option --rmt-command. (decode_options): Handle --rmt-command. Initialize @@ -192,7 +384,7 @@ * tests/star/ustar-big-8g.sh: Likewise * doc/.cvsignore: Updated - + 2004-05-06 Sergey Poznyakoff * configure.ac: Check whether date accepts +format argument @@ -207,7 +399,7 @@ * scripts/backup-specs: Updated * scripts/Makefile.am: Updated for new directory contents. * scripts/.cvsignore: Updated - + 2004-05-05 Sergey Poznyakoff * TODO: Updated @@ -229,7 +421,7 @@ * lib/.cvsignore: Updated * m4/.cvsignore: Updated * src/xheader.c: Include stpcpy.h - + * src/create.c: Produce an error, not warning, if the filename is too long. * tests/longv7.sh: Synchronized with the recent changes. @@ -237,7 +429,7 @@ 2004-04-20 Sergey Poznyakoff * configure.ac: Fixed test for iconv_t - * src/rmt.h: Bugfix by Jürgen Weigert + * src/rmt.h: Bugfix by Jürgen Weigert * THANKS: Add Jürgen Weigert * tests/star/README: Fixed typo