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



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


> 




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