summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-02-08 14:12:22 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-02-08 14:12:22 +0000
commit7efe3850f6e058d33a46ef17cdc95df0469ed887 (patch)
treecd48cb91d476e78e59a610677e0f047f88c771c0
parentd0694ee604861ec09fa53cc8ffb50d01f440345c (diff)
downloadtar-7efe3850f6e058d33a46ef17cdc95df0469ed887.tar.gz
* 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.
-rw-r--r--ChangeLog9
-rw-r--r--NEWS14
-rw-r--r--configure.ac4
-rw-r--r--lib/.cvsignore3
-rw-r--r--po/POTFILES.in5
-rw-r--r--src/compare.c16
-rw-r--r--tests/shortfile.at2
7 files changed, 44 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f39a74e..c133db0a 100644
--- 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 bea15576..a20523f2 100644
--- 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>
-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
diff --git a/configure.ac b/configure.ac
index 0c730d29..fd4b2fad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])
diff --git a/lib/.cvsignore b/lib/.cvsignore
index 2e6f033b..6f13217c 100644
--- a/lib/.cvsignore
+++ b/lib/.cvsignore
@@ -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
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 1276a393..bcf24017 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -22,10 +22,13 @@
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
diff --git a/src/compare.c b/src/compare.c
index d0cf5f7d..f3723049 100644
--- a/src/compare.c
+++ b/src/compare.c
@@ -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);
}
diff --git a/tests/shortfile.at b/tests/shortfile.at
index 6332ddb4..dbebc509 100644
--- a/tests/shortfile.at
+++ b/tests/shortfile.at
@@ -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