Re: [Patch] gio-standalone build fail on solaris because of statfs is different with Linux
- From: Halton Huo <Halton Huo Sun COM>
- To: Alexander Larsson <alexl redhat com>
- Cc: gnome-vfs-list gnome org
- Subject: Re: [Patch] gio-standalone build fail on solaris because of statfs is different with Linux
- Date: Wed, 07 Nov 2007 17:14:34 +0800
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]