[Top][All Lists]

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

Re: [PATCH] support filename prefixes and 100-character filenames in tar

From: Juri Linkov
Subject: Re: [PATCH] support filename prefixes and 100-character filenames in tar-mode.el
Date: Wed, 16 Apr 2008 01:35:44 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

>> > With all of the patch except for the change in the initial
>>  > initialization of name-end, the results look correct, except the
>>  > penultimate line ends in "foo2" instead of "foo20"; that is because
>>  > the name field here fill the entire field with no nulls, but the code
>>  > previously assumed there would be at least one null.  (It's possible
>>  > that similar adjustments are required for the initial values of
>>  > link-end, gname-end, and uname-end.)
>>  Does your patch also handle @LongLink currently unsupported by tar-mode.el?
> Is it actually unsupported?  When I tried to make a tarball to test
> this issue with GNU tar, I saw stuff about "@LongLink" when I opened
> it in tar-mode.  (Try making a tarball from the one I sent using GNU
> tar; you'll see what I mean; I made my test tarball with pax, since
> that was what was used to make the one I opened when I first noticed
> this issue.)  I don't know if it was correct or not, though.

Please see a test tarball attached below.  It is correctly created with
GNU tar, but opening it in Emacs displays the following message:

    Warning: premature EOF parsing tar file

Also its file listing is incomplete, file names are truncated, and content
of some files is inserted into the file listing in the tar-mode buffer.

I thought your patch will fix these problems.

Attachment: test.tgz
Description: GNU Unix tar archive

Juri Linkov

reply via email to

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