]> git.wh0rd.org - dump.git/commitdiff
Small fixes to allow dump to compile with a really old e2fsprogs version.
authorStelian Pop <stelian@popies.net>
Sun, 28 May 2000 18:16:42 +0000 (18:16 +0000)
committerStelian Pop <stelian@popies.net>
Sun, 28 May 2000 18:16:42 +0000 (18:16 +0000)
CHANGES
TODO
dump/traverse.c

diff --git a/CHANGES b/CHANGES
index 38ca09188aa5475964e168d8d2ee9579fc1d2650..f6703a9e8d6403178a7f20c9e7e9e4de3636adcb 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,4 @@
-$Id: CHANGES,v 1.57 2000/05/28 17:50:27 stelian Exp $
+$Id: CHANGES,v 1.58 2000/05/28 18:16:42 stelian Exp $
 
 Changes between versions 0.4b16 and 0.4b17 (released ??????????????)
 ====================================================================
@@ -18,6 +18,9 @@ Changes between versions 0.4b16 and 0.4b17 (released ??????????????)
 
 4.     Made quotes work in interactive restore.
 
+5.     Small fixes in order to allow dump to compile with a 
+       really old e2fsprogs version.
+
 Changes between versions 0.4b15 and 0.4b16 (released March 11, 2000)
 ====================================================================
 
diff --git a/TODO b/TODO
index 1dd0aaacf1d96c336b8ea9cd92fa72485bac8c36..0a6f1a750f108b1cc5128a979139cd4b79ffecb1 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,4 +1,4 @@
-$Id: TODO,v 1.13 2000/03/02 11:41:29 stelian Exp $
+$Id: TODO,v 1.14 2000/05/28 18:16:42 stelian Exp $
 
 Need to verify:
 ---------------
@@ -43,3 +43,10 @@ All others:
             the   specified   archive_file   to   be  used  by
             ufsrestore(1M) to determine whether a file  is  in
             the dump file that is being restored.
+
+9.     Add readline capabilities to interactive restore. Does
+       this mean huge static restore or not?
+
+10.    Do the compare on the fly in restore C mode (useful
+       when comparing huge files and you have not enough space
+       in /tmp).
index f485ab31ae88a0bc79d14d022387495c764051e9..ff8e168f40ad11320c1a976278220692ebabe125 100644 (file)
@@ -40,7 +40,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: traverse.c,v 1.17 2000/03/03 11:43:35 stelian Exp $";
+       "$Id: traverse.c,v 1.18 2000/05/28 18:16:42 stelian Exp $";
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -112,6 +112,7 @@ int dump_fs_open(const char *disk, ext2_filsys *fs)
 #else
        retval = ext2fs_open(disk, 0, 0, 0, unix_io_manager, fs);
 #endif
+#if defined(EXT2_LIB_FEATURE_COMPAT_SUPP) && defined(EXT2_LIB_FEATURE_INCOMPAT_SUPP) && defined(EXT2_LIB_FEATURE_RO_COMPAT_SUPP) && defined(EXT2_ET_UNSUPP_FEATURE) && defined(EXT2_ET_RO_UNSUPP_FEATURE)
        if (!retval) {
                s = (struct ext2fs_sb *) (*fs)->super;
                if ((s->s_feature_compat & ~EXT2_LIB_FEATURE_COMPAT_SUPP) ||
@@ -126,6 +127,7 @@ int dump_fs_open(const char *disk, ext2_filsys *fs)
                        retval = EXT2_ET_RO_UNSUPP_FEATURE;
                }
        }
+#endif /* defined && defined && defined... */
        return retval;
 }