tech-userlevel archive

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

Conflicting fuse_opt.h


I am almost certain I already raised that question, but I could not find 
where, and the issue remains to be fixed.

NetBSD's src/lib/librefuse/fuse_opt.h
struct fuse_opt {
        const char      *templ;
        int32_t         offset;
        int32_t         value;

defines (comment striped for the sake of clarity):
struct fuse_opt {
	const char *templ;
	unsigned long offset;
	int value;

That is fine on IPL32 but breaks on LP64, especially when a program used 
one header, and a plugin used another. But how should that be fixed? If
I fix NetBSD's version, I will certainly break some software that used
the old header and link with a new library.

Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index