From dce7902664f0b526dc747feeb2c21870011ed74b Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Mon, 3 Jun 2013 17:12:50 +0100 Subject: [PATCH] filebundle: follow symlinks on the local filesystem --- src/filebundle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filebundle.c b/src/filebundle.c index c40f353a..60ae966c 100644 --- a/src/filebundle.c +++ b/src/filebundle.c @@ -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;