]> git.wh0rd.org - dump.git/commitdiff
Made dump able to dump files bigger than 2 GB.
authorStelian Pop <stelian@popies.net>
Tue, 26 Sep 2000 13:17:09 +0000 (13:17 +0000)
committerStelian Pop <stelian@popies.net>
Tue, 26 Sep 2000 13:17:09 +0000 (13:17 +0000)
CHANGES
dump/traverse.c

diff --git a/CHANGES b/CHANGES
index 7a84ebffaa9f6ef6058332a8514c6b5d4bd1ebaa..ee61a20202f1ee5c5732848be2a9d936e7e8cefb 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,4 @@
-$Id: CHANGES,v 1.83 2000/09/26 12:34:51 stelian Exp $
+$Id: CHANGES,v 1.84 2000/09/26 13:17:42 stelian Exp $
 
 Changes between versions 0.4b19 and 0.4b20 (released ???????????????)
 =====================================================================
@@ -31,6 +31,9 @@ Changes between versions 0.4b19 and 0.4b20 (released ???????????????)
        (as specified in the fstab). Thanks to Bernhard R. Erdmann 
        <be@berdmann.de> for reporting the bug.
 
+6.     Made dump able to backup files larger than 2 GB. Note that
+       dump still doesn't cope with files larger than 4 GB.
+
 Changes between versions 0.4b18 and 0.4b19 (released August 20, 2000)
 =====================================================================
 
index 90cf97b51557bde998416942f22fa6ec76930ae9..9182b4052677c137b6819a668a7b9e7821cbbf1b 100644 (file)
@@ -40,7 +40,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: traverse.c,v 1.19 2000/09/01 14:26:23 stelian Exp $";
+       "$Id: traverse.c,v 1.20 2000/09/26 13:17:09 stelian Exp $";
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -84,11 +84,15 @@ static const char rcsid[] =
 #define        HASDUMPEDFILE   0x1
 #define        HASSUBDIRS      0x2
 
+#ifdef __linux__
+typedef u_quad_t fsizeT;
+#else
 #ifdef FS_44INODEFMT
 typedef        quad_t fsizeT;
 #else
 typedef        long fsizeT;
 #endif
+#endif
 
 #ifdef __linux__
 static int searchdir __P((struct ext2_dir_entry *dp, int offset,