]> git.wh0rd.org - dump.git/commitdiff
QFA fix (do not output directories in QFA file).
authorStelian Pop <stelian@popies.net>
Thu, 21 Feb 2002 09:25:31 +0000 (09:25 +0000)
committerStelian Pop <stelian@popies.net>
Thu, 21 Feb 2002 09:25:31 +0000 (09:25 +0000)
CHANGES
dump/tape.c

diff --git a/CHANGES b/CHANGES
index f95c076dbe872b8446e92614f900939a839bf817..ee9b9d6a81335ea6e857c55155e8e4e6855620f0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,11 @@
-$Id: CHANGES,v 1.162 2002/02/15 11:30:09 stelian Exp $
+$Id: CHANGES,v 1.163 2002/02/21 09:25:31 stelian Exp $
+
+Changes between versions 0.4b27 and 0.4b28 (released ?????????????????)
+=======================================================================
+
+1.     Fixed a bug in the QFA feature which could have caused 
+       a bad tape positionning on restore (causing extra delays in
+       restore). Credits go to Uwe Gohlke <uwe@ugsoft.de>.
 
 Changes between versions 0.4b26 and 0.4b27 (released February 15, 2002)
 =======================================================================
index 5fa739c01302ee9d8481fb8e7b3f83fdd0d47743..125b15884074869ed1d7b4b4adcf0c58bfcf18f0 100644 (file)
@@ -41,7 +41,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: tape.c,v 1.62 2002/01/25 15:08:59 stelian Exp $";
+       "$Id: tape.c,v 1.63 2002/02/21 09:25:31 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
@@ -1239,6 +1239,7 @@ doslave(int cmd, int slave_number, int first)
                                spclptr = &uspclptr->s_spcl;
                                if ((spclptr->c_magic == NFS_MAGIC) && 
                                    (spclptr->c_type == TS_INODE) &&
+                                   ((spclptr->c_dinode.di_mode & S_IFMT) != IFDIR) &&
                                    (spclptr->c_date == gThisDumpDate)) {
                                        /* if an error occured previously don't
                                         * try again */