]> Dogcows Code - chaz/tar/commitdiff
* NEWS: Update.
authorSergey Poznyakoff <gray@gnu.org.ua>
Fri, 8 Feb 2008 14:12:22 +0000 (14:12 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Fri, 8 Feb 2008 14:12:22 +0000 (14:12 +0000)
* configure.ac: Version 1.19.90
* po/POTFILES.in: Add missing files.
* src/compare.c (verify_volume): Honor --ignore-zeros.
Proposed by Jan-Benedict Glaw.
* tests/shortfile.at (AT_KEYWORDS): Add shortfile0.

ChangeLog
NEWS
configure.ac
lib/.cvsignore
po/POTFILES.in
src/compare.c
tests/shortfile.at

index 8f39a74ed2106381afed7910cd9ed69de18728a6..c133db0a099b85539523ce4a16ad401affd100d5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-02-08  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * NEWS: Update.
+       * configure.ac: Version 1.19.90
+       * po/POTFILES.in: Add missing files.
+       * src/compare.c (verify_volume): Honor --ignore-zeros.
+       Proposed by Jan-Benedict Glaw.
+       * tests/shortfile.at (AT_KEYWORDS): Add shortfile0.
+
 2008-02-07  Sergey Poznyakoff  <gray@gnu.org.ua>
 
        * NEWS: Update.
diff --git a/NEWS b/NEWS
index bea15576a4b382b7e267093cd0b5636a000e3be0..a20523f2f2836a55b44b94c0333bfbbbc2ec318c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,8 @@
-GNU tar NEWS - User visible changes. 2008-02-07
+GNU tar NEWS - User visible changes. 2008-02-08
 Please send GNU tar bug reports to <bug-tar@gnu.org>
 
 \f
-version 1.19.1 (CVS)
+version 1.19.90 (CVS)
 
 * New option --auto-compress (-a)
 
@@ -22,9 +22,10 @@ they refer to, instead of creating usual hard link members (type '1').
 
 This action allows to specify an action to be executed upon hitting a
 checkpoint.  Recognized actions are: dot, echo (the default),
-echo=string, and sleep=value.  Any number of `--checkpoint-action'
-options can be specified, the actions will be executed in order of
-their appearance in the command line.  
+echo=string, ttyout=string, exec=cmdline, and sleep=value.  Any number
+of `--checkpoint-action' options can be specified, the actions will be
+executed in order of their appearance in the command line.  See
+chapter 3.8 "Checkpoints" for a complete description.
 
 * The --transform option.
 
@@ -38,6 +39,9 @@ Filename transformations are applied to symbolic link targets
 during both creation and extraction.  Tar 1.19 used them only
 during extraction.
 
+For a detailed description, see chapter 6.7 "Modifying File and Member
+Names". 
+
 * Info (end-of-volume) scripts
 
 The value of the blocking factor is made available to info and
index 0c730d294a8a7c529f30559bfce134bc7b3731aa..fd4b2fad849713a47864bc13844e12f002755dd2 100644 (file)
@@ -1,7 +1,7 @@
 # Configure template for GNU tar.
 
 # Copyright (C) 1991, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 # 02110-1301, USA.
 
-AC_INIT([GNU tar], [1.19.1], [bug-tar@gnu.org])
+AC_INIT([GNU tar], [1.19.90], [bug-tar@gnu.org])
 AC_CONFIG_SRCDIR([src/tar.c])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_HEADERS([config.h:config.hin])
index 2e6f033bca0abab561aa511c6e02f331b6234734..6f13217c98104e2bfe12d908e8f5c81590ce4fd2 100644 (file)
@@ -71,6 +71,7 @@ fnmatch.in.h
 fnmatch_loop.c
 fpending.c
 fpending.h
+fseeko.c
 fstatat.c
 ftruncate.c
 full-write.c
@@ -104,6 +105,7 @@ inttypes.in.h
 lchown.c
 localcharset.c
 localcharset.h
+lseek.c
 lstat.c
 lstat.h
 malloc.c
@@ -175,6 +177,7 @@ savedir.h
 setenv.c
 setenv.h
 sleep.c
+snprintf.c
 stat-macros.h
 stat-time.h
 stdbool.h
index 1276a393b84fcd305905f00c417c74e943fac1b0..bcf24017a7c18c86eee6c4939505cc619606b123 100644 (file)
 lib/argmatch.c
 lib/argp-help.c
 lib/argp-parse.c
+lib/closeout.c
 lib/error.c
 lib/getopt.c
+lib/obstack.c
 lib/human.c
 lib/obstack.c
+lib/openat-die.c
 lib/paxerror.c
 lib/paxexit.c
 lib/paxnames.c
@@ -34,6 +37,8 @@ lib/rpmatch.c
 lib/rtapelib.c
 lib/xalloc-die.c
 lib/xmalloc.c
+lib/version-etc.c
+lib/xalloc-die.c
 
 rmt/rmt.c
 
index d0cf5f7d6c04963bc96928ab0c975b32d87b7af3..f3723049ed055b3b4ef7d96c5d5c23914b0ab9d8 100644 (file)
@@ -597,9 +597,23 @@ verify_volume (void)
                            "VERIFY FAILURE: %d invalid headers detected",
                            counter), counter));
        }
-      if (status == HEADER_ZERO_BLOCK || status == HEADER_END_OF_FILE)
+      if (status == HEADER_END_OF_FILE)
        break;
+      if (status == HEADER_ZERO_BLOCK)
+       {
+         set_next_block_after (current_header);
+          if (!ignore_zeros_option)
+            {
+             char buf[UINTMAX_STRSIZE_BOUND];
 
+             status = read_header (false);
+             if (status == HEADER_ZERO_BLOCK)
+               break;
+             WARN ((0, 0, _("A lone zero block at %s"),
+                   STRINGIFY_BIGINT (current_block_ordinal (), buf)));
+            }
+       }
+      
       diff_archive ();
       tar_stat_destroy (&current_stat_info);
     }
index 6332ddb4ca2ff0fe583c40f9c906645d6085e128..dbebc5093c9473bdd0eaf1fd9770f6eb4d3eeed3 100644 (file)
@@ -24,7 +24,7 @@
 #             http://lists.gnu.org/archive/html/bug-tar/2007-08/msg00038.html
 
 AT_SETUP([short input files])
-AT_KEYWORDS([shortfile])
+AT_KEYWORDS([shortfile shortfile0])
 
 AT_TAR_CHECK([
 genfile --length 511 --file foo || exit 5
This page took 0.032531 seconds and 4 git commands to generate.