Compare commits
No commits in common. "85a6d79151aefd62c6e43773dd434aea16af3756" and "7571ef42c6217702c6fcbeca2427f58fd7fe5b3e" have entirely different histories.
85a6d79151
...
7571ef42c6
@ -24,7 +24,7 @@ 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);
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user