Compare commits

..

No commits in common. "85a6d79151aefd62c6e43773dd434aea16af3756" and "7571ef42c6217702c6fcbeca2427f58fd7fe5b3e" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -24,9 +24,9 @@ int main(int argc, char** argv)
}
struct minitar_entry entry;
do {
if (minitar_read_entry(&mp, &entry) == 0) { printf("%s (%s, %zu bytes, mode %o)\n", entry.metadata.path, entry.metadata.name, entry.metadata.size, entry.metadata.mode); }
if (minitar_read_entry(&mp, &entry) == 0) { printf("%s\n", entry.metadata.path); }
else
break;
} while (1);
minitar_close(&mp);
}
}

View File

@ -55,7 +55,7 @@ struct minitar_entry_internal
struct minitar_entry_metadata
{
char path[257];
char name[101];
char name[128];
char link[101];
mode_t mode;
uid_t uid;