[vtk-developers] ImageReader? (Dashboard troubles)
John Biddiscombe
jbiddiscombe at skippingmouse.co.uk
Fri Jun 14 15:14:12 EDT 2002
Brad,
> Try using these lines to clear the bits before calling tellg(). This
> should be a replacement for Bill's fix.
>
> self->GetFile()->clear(self->GetFile()->rdstate() &
> ~ios::eofbit);
>
> self->GetFile()->clear(self->GetFile()->rdstate() &
> ~ios::failbit);
Gave it a try, but it didn't work (?!). I've committed the earlier fix that
Bill put in with the extra Borland check for now.
JB
More information about the vtk-developers
mailing list