filebundle: follow symlinks on the local filesystem
This commit is contained in:
parent
da70a74f9e
commit
dce7902664
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ fb_file *fb_open2
|
|||
FILE *fp = fopen(path, "rb");
|
||||
if (fp) {
|
||||
struct stat st;
|
||||
lstat(path, &st);
|
||||
stat(path, &st);
|
||||
ret = calloc(1, sizeof(fb_file));
|
||||
ret->type = FB_DIRECT;
|
||||
ret->size = st.st_size;
|
||||
|
|
Loading…
Add table
Reference in a new issue