Prevent duplicates when "." or ".." occurs
This commit is contained in:
parent
fd5e42698c
commit
b245931c79
@ -77,6 +77,7 @@ cpio::cpio(const char *filename) {
|
|||||||
delete entry;
|
delete entry;
|
||||||
if (trailer)
|
if (trailer)
|
||||||
break;
|
break;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
arr.push_back(entry);
|
arr.push_back(entry);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user