X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Ftape.c;h=bd411b945bf298467144dee8d1a297d160ee102c;hp=4710f889d1cdae269f1c3c586eb594cdc401c650;hb=e17af4c1a919e1d1456d6079682b63c7df947a7f;hpb=2359fe7e917ea8a52c5d523c77d29bddf6f82fce diff --git a/restore/tape.c b/restore/tape.c index 4710f88..bd411b9 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -42,7 +42,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.100 2010/12/06 14:26:51 stelian Exp $"; + "$Id: tape.c,v 1.101 2011/05/05 16:05:40 stelian Exp $"; #endif /* not lint */ #include @@ -2143,6 +2143,10 @@ readtape_comprfile(char *buf) ((struct s_spcl *)&tapebuf[i * TP_BSIZE])->c_magic = 0; numtrec = ntrec; tpb = (struct tapebuf *) tapebuf; +#ifdef USE_QFA + if (createtapeposflag) + (void)GetTapePos(&curtapepos); +#endif /* read the block prefix */ ret = read_a_block(mt, tapebuf, PREFIXSIZE, &rl); @@ -2232,6 +2236,10 @@ readtape_comprtape(char *buf) ((struct s_spcl *)&tapebuf[i * TP_BSIZE])->c_magic = 0; numtrec = ntrec; tpb = (struct tapebuf *) tapebuf; +#ifdef USE_QFA + if (createtapeposflag) + (void)GetTapePos(&curtapepos); +#endif /* read the block */ size = bufsize + PREFIXSIZE;