From 713c7197f00d5fef5e7b13a0c58c6013fb2fd51c Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 25 Mar 2005 06:03:11 +0000 Subject: c_tapea and c_firstrec are used for TS_TAPE blocks, so convert them for the old (4.4-lite through FreeBSD 4.x and *BSD) format. It looks like they aren't used for TS_INODE, but conversion costs so little there that I've not removed them there (in case my grep was wrong). This makes at least some of the tapes work for me again. Now, to regresion test all my dusty tapes... --- sbin/restore/tape.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sbin') diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c index 900d9ed..1c8907b 100644 --- a/sbin/restore/tape.c +++ b/sbin/restore/tape.c @@ -1088,6 +1088,8 @@ gethead(struct s_spcl *buf) if (buf->c_magic == NFS_MAGIC) { buf->c_date = _time32_to_time(buf->c_old_date); buf->c_ddate = _time32_to_time(buf->c_old_ddate); + buf->c_tapea = buf->c_old_tapea; + buf->c_firstrec = buf->c_old_firstrec; } case TS_END: buf->c_inumber = 0; -- cgit v1.1