Re: [Patch] gio-standalone build fail on solaris because of statfs is different with Linux

Halton Huo <[email protected]>
Newsgroups gmane.comp.gnome.vfs.general
Message-ID <1194426874.1171.59.camel@judo>
On Wed, 2007-11-07 at 09:45 +0100, Alexander Larsson wrote:
> > 
> > The patch is attached.
> 
> 
> This doesn't seem right. Shouldn't you be using statvfs instead on sun.
> That way you can get the amount of free space.
Solaris have statfs and statvfs both. statfs_buffer will defined as
statfs first. You mean change statfs_buffer to statvfs first?

 723 #if HAVE_STATFS
 724   struct statfs statfs_buffer;
 725   const char *fstype;
 726 #elif HAVE_STATVFS
 727   struct statvfs statfs_buffer;
 728 #endif


>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.