From owner-cvs-all Sun Oct 28 12: 1:45 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 42C5B37B406; Sun, 28 Oct 2001 12:01:39 -0800 (PST) Received: (from dillon@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9SK1dR44825; Sun, 28 Oct 2001 12:01:39 -0800 (PST) (envelope-from dillon) Message-Id: <200110282001.f9SK1dR44825@freefall.freebsd.org> From: Matt Dillon Date: Sun, 28 Oct 2001 12:01:39 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include/protocols dumprestore.h src/sbin/dump itime.c main.c src/sbin/restore tape.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dillon 2001/10/28 12:01:39 PST Modified files: include/protocols dumprestore.h sbin/dump itime.c main.c sbin/restore tape.c Log: Make the protocol/dumprestore.h header match restore's idea of the dump header for the case where sizeof(time_t) != sizeof(int). dumprestore.h was embedding time_t when it should have been embedding int32_t. Use time_to_time32() and time32_to_time() to convert between the protocoll/file-format time and time_t. Revision Changes Path 1.7 +4 -2 src/include/protocols/dumprestore.h 1.8 +12 -6 src/sbin/dump/itime.c 1.28 +18 -7 src/sbin/dump/main.c 1.24 +14 -10 src/sbin/restore/tape.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message