ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 41924] Untar target does not handle long filenames in POSIX tar files
Date Sun, 22 Jul 2012 11:09:05 GMT

Sagi <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #17 from Sagi <> ---

I'm suffering from a similar problem, but in my case the file with the long
name is not a regular file but a soft link.
In my case the link name is very long and not the link full path (as in the
Testtar file).

I looked at tar source code and I think that the solution for this issue is not
Beside the definition for GNUTYPE_LONGNAME, 
there's a definition for GNUTYPE_LONGLINK, i.e. (from tar.h) :
  /* Identifies the *next* file on the tape as having a long linkname.  */

in my testcase the function TarEntry::isGNULongNameEntry returns FALSE
because linkFlag != LF_GNUTYPE_LONGNAME (linkFlag == (byte)'K')

I even noticed that there's no definition for LF_GNUTYPE_LONGLINK in

Thank you,

You are receiving this mail because:
You are the assignee for the bug.

View raw message