Date: Sun, 17 Feb 2002 18:29:47 -0800 (PST) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/restore tape.c Message-ID: <200202180229.g1I2TlC58194@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2002/02/17 18:29:47 PST
Modified files:
sbin/restore tape.c
Log:
Use a more robust scheme for determining how many blocks to skip
after an EOT-terminated volume. We keep track of the current record
number, and synchronise it with the c_tapea field each time we read
a header. Avoid the use of c_firstrec because some bugs in dump can
cause it to be set incorrectly.
Move the initialisation of some variables to avoid compiler warnings.
Revision Changes Path
1.29 +18 -15 src/sbin/restore/tape.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202180229.g1I2TlC58194>
