While working on the minix fs support using FUSE, I realized that if you simply call open on a file, it fails with the "FILE too large" error if the file is > 2G
To get it to work, we need to compile the code like this
gcc -D_FILE_OFFSET_BITS=64 file.c
No comments:
Post a Comment