[Bug 128141] New - Using statfs() on Solaris9 x86



http://bugzilla.gnome.org/show_bug.cgi?id=128141

           Summary: Using statfs() on Solaris9 x86
           Product: gnome-vfs
           Version: unspecified
                OS: SunOS
        OS Details: SunOS brusen 5.9 Generic_112234-03 i86pc i386 i86pc
            Status: NEW
 Status Whiteboard:
          Keywords: GNOMEVER2.5
        Resolution:
          Severity: critical
          Priority: Normal
         Component: Build
        AssignedTo: gnome-vfs-maint bugzilla gnome org
        ReportedBy: koffle bredband net


Version of gnome-vfs: 2.5.2 (not possible to chose when reporting)
file: libgnomevfs/gnome-vfs-utils.c

On line 813, struct statfs is used, without a check.  

On a Solaris9 machine, <sys/statfs.h> must be included, and then,
statfs_buffer2.f_type (line 822) should probably be statfs_buffer2.f_fstyp ..

Finally, usage of statfs isn't encouraged, statvfs should be used .....



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]