From: Stelian Pop Date: Tue, 26 Sep 2000 13:17:09 +0000 (+0000) Subject: Made dump able to dump files bigger than 2 GB. X-Git-Tag: release_0_4b20~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=abc63c56d1d2615509730085dfbe905497be888e;p=dump.git Made dump able to dump files bigger than 2 GB. --- diff --git a/CHANGES b/CHANGES index 7a84ebf..ee61a20 100644 --- 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 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) ===================================================================== diff --git a/dump/traverse.c b/dump/traverse.c index 90cf97b..9182b40 100644 --- a/dump/traverse.c +++ b/dump/traverse.c @@ -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 @@ -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,