bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Format when appending


From: Gunnar Ritter
Subject: Re: [Bug-tar] Format when appending
Date: Sun, 23 May 2004 15:47:05 +0200
User-agent: nail 10.8pre 4/14/04

Sergey Poznyakoff <address@hidden> wrote:

> > when one appends ('r') files to an archive, GNU tar 1.14 does not
> > recognize the type of the original archive but appends GNU tar format
> Thanks for reporting. Please find attached a patch that fixes the bug.

Works well here.

While testing it, I've just found a cosmetical problem with old
tar format archives; GNU tar 1.14 writes devmajor and devminor
fields although they are meaningless.

0000    66 69 6c 65 00 00 00 00  00 00 00 00 00 00 00 00   file............
0010    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
*
0060    00 00 00 00 30 30 30 30  36 34 34 00 30 30 30 31   ....0000644.0001
0070    31 30 30 00 30 30 30 30  30 30 31 00 30 30 30 30   100.0000001.0000
0080    30 30 30 30 30 31 30 00  31 30 30 35 34 31 31 35   0000010.10054115
0090    32 37 36 00 30 30 36 36  30 32 00 20 00 00 00 00   276.006602. ....
00a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
*
0140    00 00 00 00 00 00 00 00  00 30 30 30 30 30 30 30   .........0000000
                                                                    ^^^^^^^
0150    00 30 30 30 30 30 30 30  00 00 00 00 00 00 00 00   .0000000........
                                                            ^^^^^^^
0160    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
*
0200    63 6f 6e 74 65 6e 74 0a  00 00 00 00 00 00 00 00   content.........
0210    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
*
2800

        Gunnar

-- 
http://omnibus.ruf.uni-freiburg.de/~gritter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]