Switching to UX3 framework for sys calls
This commit is contained in:
parent
0a44a6ab6e
commit
0ff090d190
@ -57,13 +57,13 @@ extern void tar_free_pool (void);
|
|||||||
|
|
||||||
// tar entry metadata structure (singly-linked list)
|
// tar entry metadata structure (singly-linked list)
|
||||||
struct tar_t {
|
struct tar_t {
|
||||||
char original_name[100]; // original filenme; only availible when writing into a tar
|
char original_name[1024]; // original filenme; only availible when writing into a tar
|
||||||
unsigned int begin; // location of data in file (including metadata)
|
unsigned int begin; // location of data in file (including metadata)
|
||||||
union {
|
union {
|
||||||
union {
|
union {
|
||||||
// Pre-POSIX.1-1988 format
|
// Pre-POSIX.1-1988 format
|
||||||
struct {
|
struct {
|
||||||
char name[100]; // file name
|
char name[1024]; // file name
|
||||||
char mode[8]; // permissions
|
char mode[8]; // permissions
|
||||||
char uid[8]; // user id (octal)
|
char uid[8]; // user id (octal)
|
||||||
char gid[8]; // group id (octal)
|
char gid[8]; // group id (octal)
|
||||||
@ -71,7 +71,7 @@ struct tar_t {
|
|||||||
char mtime[12]; // modification time (octal)
|
char mtime[12]; // modification time (octal)
|
||||||
char check[8]; // sum of unsigned characters in block, with spaces in the check field while calculation is done (octal)
|
char check[8]; // sum of unsigned characters in block, with spaces in the check field while calculation is done (octal)
|
||||||
char link; // link indicator
|
char link; // link indicator
|
||||||
char link_name[100]; // name of linked file
|
char link_name[1024]; // name of linked file
|
||||||
};
|
};
|
||||||
|
|
||||||
// UStar format (POSIX IEEE P1003.1)
|
// UStar format (POSIX IEEE P1003.1)
|
||||||
|
266
src/lexer.c
266
src/lexer.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user