From: Andy R. <an...@pl...> - 2003-05-15 16:57:05
|
A. A. El Haddi wrote: > I saw a posting in the archives saying that _stat() gives the > correct results and that stat() is messed up. Both of them are > wrong. > > Any patches available to fix this ? Which windows platform? These functions are implemented in the MS runtime, not mingw. I can confirm that they return correct file sizes for me on the runtime shipped with Windows XP. I actually thought I wouldn't have to bother with doing a port at all, until I discovered that the MS fread() implementation almost always returns short reads on disk files. Ugh. Andy -- Andrew J. Ross Beyond the Ordinary Plausibility Productions Sole Proprietor Beneath the Infinite Hillsboro, OR Experience... the Plausible? |