feat(file): changed the mode type from uint32_t to the proper mode_t
This commit is contained in:
parent
1606f479db
commit
37a696bd38
1 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char** content;
|
char** content;
|
||||||
|
|
@ -12,7 +13,7 @@ typedef struct {
|
||||||
} File;
|
} File;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint32_t mode;
|
mode_t mode;
|
||||||
char* name;
|
char* name;
|
||||||
} FileInfo;
|
} FileInfo;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue