Hello, On Thu, 22 Aug 2013, Cristian Rodríguez wrote:
El 22/08/13 15:19, dieter escribió:
mkdir testdir echo test > "testdir/testname_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789.txt" tar cJf testdir.tar.xz testdir
start mc, enter testdir.tar.xz the filename is limited to testname_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123
The tar archive itself is correct and tar xf correctly restores the full file-names. [..] The problem is observed with the mc packages included in 12.3 (mc-4.8.1.4-2.1.2) and also with 13.1M4/factory (mc-4.8.9-2.2).
Hrmm.. it might be some sort of primitive buffer overflow check or the plugin just shortens the filenames for display.. in any case, fill a bug report ;-)
==== mc-4.8.1.4/src/vfs/tar/tar.c ==== #define NAMSIZ 100 #define PREFIX_SIZE 155 ==== Maybe we should replace that by a script /usr/lib/mc/extfs.d/tar using GNU tar, pax or star ... (i.e. write that script and compile without ENABLE_VFS_TAR i.e. --disable-vfs-tar). I strongly doubt that you can just change those defines. Joerg Schilling probably knows ... -dnh -- The primary difference [...] is that the Java programm will reliably and obviously crash, whereas the C Program will do something obscure -- Java Language Tutorial -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org