]> git.wh0rd.org - dump.git/blobdiff - dump/traverse.c
Made dump able to dump files bigger than 2 GB.
[dump.git] / dump / traverse.c
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,