Rewind manifest file in case distributions are in a different order there.
This commit is contained in:
parent
46cc2c0240
commit
896a9484cb
@ -96,6 +96,8 @@ count_files(const char *file)
|
||||
if (manifest != NULL) {
|
||||
char line[512];
|
||||
char *tok1, *tok2;
|
||||
|
||||
rewind(manifest);
|
||||
while (fgets(line, sizeof(line), manifest) != NULL) {
|
||||
tok2 = line;
|
||||
tok1 = strsep(&tok2, "\t");
|
||||
|
Loading…
x
Reference in New Issue
Block a user