From e51e80091772e88fb427a232cda3ff74bae5aca5 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Fri, 30 Dec 2005 17:54:30 +0000 Subject: [PATCH] The stat and ino_t changes were not intended to break dump/restore compatibility. Restore compatibility. Note that dumps made with 1.3-DEVELOPMENT between the stat/ino changes and this patch will be broken. Reported-by: YONETANI Tomokazu --- include/protocols/dumprestore.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/protocols/dumprestore.h b/include/protocols/dumprestore.h index 98704e7a58..5478fde066 100644 --- a/include/protocols/dumprestore.h +++ b/include/protocols/dumprestore.h @@ -35,7 +35,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)dumprestore.h 8.2 (Berkeley) 1/21/94 + * @(#)dumprestore.h 8.2 (Berkeley) 1/21/94 + * $DragonFly: src/include/protocols/dumprestore.h,v 1.2 2005/12/30 17:54:30 dillon Exp $ */ #ifndef _PROTOCOLS_DUMPRESTORE_H_ @@ -68,11 +69,11 @@ union u_spcl { char dummy[TP_BSIZE]; struct s_spcl { int32_t c_type; /* record type (see below) */ - time_t c_date; /* date of this dump */ - time_t c_ddate; /* date of previous dump */ + int32_t c_date; /* date of this dump */ + int32_t c_ddate; /* date of previous dump */ int32_t c_volume; /* dump volume number */ daddr_t c_tapea; /* logical block of this record */ - ino_t c_inumber; /* number of inode */ + u_int32_t c_inumber; /* number of inode */ int32_t c_magic; /* magic number (see above) */ int32_t c_checksum; /* record checksum */ struct dinode c_dinode; /* ownership and mode of inode */ -- 2.41.0