Sergey The patch worked for me.
Thanks Alex Kempshall --- [EMAIL PROTECTED] wrote: > Date: Thu, 28 Dec 2006 17:59:47 +0000 (GMT) > From: <[EMAIL PROTECTED]> > Subject: Fwd: Re: [Bug-tar] Skipping to next header > To: bug-tar <[email protected]> > > Sergey > > Thanks for that. I will apply the patch and do some > regression testing. Then run it against the db2 > backups this weekend. > > Regards > > --- Sergey Poznyakoff <[EMAIL PROTECTED]> > wrote: > > > To: <[EMAIL PROTECTED]> > > From: "Sergey Poznyakoff" > <[EMAIL PROTECTED]> > > Date: Thu, 28 Dec 2006 11:45:40 +0200 > > Subject: Re: [Bug-tar] Skipping to next header > > CC: bug-tar <[email protected]> > > > > Thank you. Please try the following patch. > > > > Regards, > > Sergey > > > > Index: src/compare.c > > > =================================================================== > > RCS file: /cvsroot/tar/tar/src/compare.c,v > > retrieving revision 1.35 > > diff -p -u -r1.35 compare.c > > --- src/compare.c 11 Apr 2006 11:59:54 -0000 1.35 > > +++ src/compare.c 28 Dec 2006 09:44:33 -0000 > > @@ -138,7 +138,7 @@ read_and_process (struct > > tar_stat_info * > > { > > union block *data_block; > > size_t data_size; > > - size_t size = st->stat.st_size; > > + off_t size = st->stat.st_size; > > > > mv_begin (st); > > while (size) > > > > > > > > > >
