Comment 2 for bug 412069

Revision history for this message
Nikolaus Rath (nikratio) wrote :

From http://thread.gmane.org/gmane.comp.file-systems.fuse.devel/8042/focus=8052

The problem is this in stat.c:

/* Keep this conditional in sync with the similar conditional in
    ../m4/stat-prog.m4. */
#if (STAT_STATVFS \
&& (HAVE_STRUCT_STATVFS_F_BASETYPE || HAVE_STRUCT_STATVFS_F_FSTYPENAME \
      || (! HAVE_STRUCT_STATFS_F_FSTYPENAME && HAVE_STRUCT_STATVFS_F_TYPE)))
# define USE_STATVFS 1
#else
# define USE_STATVFS 0
#endif

It hasn't been kept in sync so USE_STATVFS is zero and so the f_frsize
field isn't used at all. I'm not sure what that conditional should be,
but none of those symbols are defined -- there's something wrong with
the configure script that I haven't looked into.