Boost logo

Boost Users :

From: Takeshi Mouri (takeshi.mouri.net_at_[hidden])
Date: 2005-11-18 22:44:44


Hello,

I try file_descriptor::seek() for a big file over 4GB on Win32,
but the result was not correct.

file_descriptor.cpp(185)
> LONG lDistanceToMoveHigh =
> off < 0xffffffff ?
> static_cast<LONG>(off >> 32) :
> 0;

I think that lDistanceToMoveHigh always becomes 0.
The condition above should be "off > 0xffffffff".

Regards,
Takeshi Mouri


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net