From a110deb5071144c2f47e8c8ec072cb8dbef160f0 Mon Sep 17 00:00:00 2001 From: Stelian Pop Date: Sun, 28 May 2000 18:16:42 +0000 Subject: [PATCH] Small fixes to allow dump to compile with a really old e2fsprogs version. --- CHANGES | 5 ++++- TODO | 9 ++++++++- dump/traverse.c | 4 +++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 38ca091..f6703a9 100644 --- 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 1dd0aaa..0a6f1a7 100644 --- 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). diff --git a/dump/traverse.c b/dump/traverse.c index f485ab3..ff8e168 100644 --- a/dump/traverse.c +++ b/dump/traverse.c @@ -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 @@ -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; } -- 2.39.5