parent
087b099917
commit
f2f4d4ddab
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2022, apio
|
Copyright (c) 2022-2023, apio
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
// Format of a raw standard tar header.
|
// Format of a raw standard tar header.
|
||||||
|
|
||||||
|
#pragma pack(push, 1)
|
||||||
|
|
||||||
struct tar_header
|
struct tar_header
|
||||||
{
|
{
|
||||||
char name[100];
|
char name[100];
|
||||||
@ -23,6 +25,8 @@ struct tar_header
|
|||||||
char prefix[155];
|
char prefix[155];
|
||||||
|
|
||||||
char padding[12]; // Not part of the header, only used to make the structure 512 bytes
|
char padding[12]; // Not part of the header, only used to make the structure 512 bytes
|
||||||
} __attribute__((packed));
|
};
|
||||||
|
|
||||||
|
#pragma pack(pop)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user