After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 128141 - Using statfs() on Solaris9 x86
Using statfs() on Solaris9 x86
Status: RESOLVED DUPLICATE of bug 127193
Product: gnome-vfs
Classification: Deprecated
Component: Build
unspecified
Other opensolaris
: Normal critical
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2003-11-28 21:13 UTC by Jonas Jonsson
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Jonas Jonsson 2003-11-28 21:13:35 UTC
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 .....
Comment 1 Jonas Jonsson 2003-11-28 21:25:21 UTC
Hmm, statfs() on Solaris use four arguments, don't know the two last
ones .....
Comment 2 Christophe Fergeau 2003-11-28 21:42:42 UTC
Thanks for the bug report, the Sun guys already reported it, and a fix
is in CVS :) Please reopen if you are still having issues with CVS
head or the next release

*** This bug has been marked as a duplicate of 127193 ***