(cherry picked from commit 1e6a2163a5
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
0550ca0854
commit
48b287a22f
@@ -547,9 +547,6 @@ bool TarScanner::AddFile(const std::string &filename, size_t basepath_length, co
|
|||||||
switch (th.typeflag) {
|
switch (th.typeflag) {
|
||||||
case '\0':
|
case '\0':
|
||||||
case '0': { // regular file
|
case '0': { // regular file
|
||||||
/* Ignore empty files */
|
|
||||||
if (skip == 0) break;
|
|
||||||
|
|
||||||
if (strlen(name) == 0) break;
|
if (strlen(name) == 0) break;
|
||||||
|
|
||||||
/* Store this entry in the list */
|
/* Store this entry in the list */
|
||||||
|
Reference in New Issue
Block a user