Boost logo

Boost Testing :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-12-26 10:47:26


"Beman Dawes" <bdawes_at_[hidden]> wrote in message
news:doh25b$hcl$1_at_sea.gmane.org...
>
> "Douglas Gregor" <doug.gregor_at_[hidden]> wrote in message
> news:713A522E-9AEC-4992-A380-BD2E1B2CD07E_at_cs.indiana.edu...
>>
>> On Dec 20, 2005, at 2:45 PM, Beman Dawes wrote:
>>
>>>
>>> "John Maddock" <john_at_[hidden]> wrote in message
>>> news:005d01c6058c$88758000$47e40c52_at_fuji...
>>>>> We need to avoid statvfs.h for some Mac OS X versions anyway,
>>>>> because
>>>>> it isn't available on Panther (10.3.x). Granted, I don't know of any
>>>>> other way to get this information.
>>>>
>>>> Right, according to the latest POSIX spec, statvfs.h should be
>>>> available
>>>> on
>>>> all systems that define _XOPEN_VERSION > 500 in unistd.h. Otherwise
>>>> there's
>>>> basically no way to get that information (or not in a POSIX
>>>> conforming
>>>> way,
>>>> there may be an Apple specific API).
>>>
>>> Could someone with one of the older systems please search and see
>>> if there
>>> is an equivalent API?
>>
>> Well, there's statfs:
>>
>> http://developer.apple.com/documentation/Darwin/Reference/ManPages/
>> man2/statfs.2.html#//apple_ref/doc/man/2/statfs
>
> That should do the trick. I'll give it a try early next week.

OK, workaround applied to CVS.

--Beman


Boost-testing list run by mbergal at meta-comm.com