tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fuse_opt.h



src/lib/librefuse/fuse_opt.h contains:
struct fuse_opt {
        const char      *templ;
        int32_t         offset;  
        int32_t         value;
};

But fuse-2.9.3/include/fuse_opt.h has (comment removed):
struct fuse_opt {
        const char *templ;
        unsigned long offset;
        int value;
};

sizeof(offset) mismatches on LP64 architectures. I suspect a program
compiled with system FUSE header and linked with stock libfuse cannot
handle options properly. 

Is there any reason not to fix it?




-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index