relan

Results 138 comments of relan

``` lseek(3, 20140648, SEEK_SET) = 20140648 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 ``` This lseek looks weird. Could you give me a link to the source code of uClibc version used...

The abovementioned repo does not include libc source code. I've checked upstream uClibc sources and to me it looks like a misconfiguration: fuse-exfat uses pread/pwrite and both uClibc and Linux...

I can only guess that some defines are missing in the Makefile.

Looks like _llseek is broken: ``` _llseek(3, 0, [15929966592], SEEK_END) = 0 _llseek(3, 0, [0], SEEK_SET) = 0 pread(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512, 766222165606400) = 512 write(2, "ERROR: "..., 7ERROR: ) =...

@PhilT001, could you try the following patch? ```patch diff --git a/libexfat/io.c b/libexfat/io.c index bc92c7c..81ef727 100644 --- a/libexfat/io.c +++ b/libexfat/io.c @@ -226,9 +226,24 @@ struct exfat_dev* exfat_open(const char* spec, enum exfat_mode...

Sorry, I failed to copy-paste the patch properly. [Here it is in compressed form](https://github.com/relan/exfat/files/2953430/linux-blkdev-size-ioctl.patch.gz).

Could you share `libexfat/config.h`? Looks like something's wrong with Large File Support (pread is used instead of pread64).

config.h is OK. I looked through glibc-2.5 code and it seems that missing _XOPEN_SOURCE can cause ABI issues with LFS. Please try this patch: ```patch diff --git a/libexfat/exfat.h b/libexfat/exfat.h index...

> This did not work for me as well What exactly doesn't work for you?

Yeah, a new release is long overdue...