|
From: | ROMANO MASPERO |
Subject: | [Bug-tar] Missing files when option --wildcards is used |
Date: | Tue, 9 Dec 2014 12:07:02 +0000 |
Hello, I’ve incurred in a bug in GNU tar, happening at least from version 1.17 and still present in current version 1.28. The issue is: when using option “--wildcards” and the archive contains more than 255 files, some files are silentkly skipped from commands such as listing (-t) and extraction (-x). This is a reproducible testcase: $ mkdir files $ for i in `seq -w 800`; do touch files/$i; done
--> generate 800 files named from 001 to 800 $ ls -1 files/ |wc -l
--> 800 $ tar -cf f.tar files/* $ tar -tf f.tar |wc -l --> 800 $ tar --wildcards -tf f.tar '*' |wc -l --> 797 By analyzing output from tar --wildcards -tf f.tar '*' it can be seen that files n. 256,
512 and 768 are missing. I’m working on Solaris SPARC 5.9; tar was compiled from sources with Sun C compiler 5.8. Regards, ROMANO MASPERO
|
[Prev in Thread] | Current Thread | [Next in Thread] |