This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Win98: GetDiskFreeSpace fails on shares


On Thu, Jun 16, 2005 at 03:36:46PM +0100, Dave Korn wrote:
>----Original Message----
>>From: Corinna Vinschen
>>Sent: 16 June 2005 15:27
>
>> On Jun 16 15:21, Dave Korn wrote:
>>>> From: Corinna Vinschen
>>>> Right, the idea being (right now) that data is missing to fill out the
>>>> statvfs datastructure.
>>> 
>>>   Well, we do have the number of bytes free, which is the main thing to
>>> get right.  And SUS gives us wriggle-room:
>>> 
>>> http://www.opengroup.org/onlinepubs/009695399/functions/statvfs.html
>>> 
>>> "It is unspecified whether all members of the statvfs structure have
>>> meaningful values on all file systems"
>>> 
>>>   So perhaps we could just choose a fake block size to report so long as
>>> the product of blocks*size gives the right result?
>> 
>> Sure, why not, as long as it's only done in case GetDiskFreeSpace returns
>> FALSE.  Are you perhaps contemplating the idea to prepare a patch (hint,
>> hint, hippo)?
>
>Wouldn't mind, but I don't have w98 here, I could do it at home on the
>weekend.  My tuits are also being taken up currently with the newlib
>lrint problem...

I would like to get a 1.5.18 out soon, and lrint is one of the things I'd like
to get into cygwin.  Doesn't gcc provide built-in versions of some of "lrint"
style functions?  Would it make sense to use those somehow?

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]