Thanks, Zheng, for your interest in our work.  We have gone through
all files containing UnixWrite and changed the values accepting the
return values of UnixWrite to be off_t (or long).  The updated code is
can be downloaded with

svn checkout https://codeforge.lbl.gov/anonscm/fastbit


Please feel free to let us know if you have any additional questions,
comments or suggestions.

John


On 10/24/14 2:57 PM, Zheng Yan wrote:
> Hi John,
> 
> I just found out that there is a bug in ifade::write64 when the output
> file is larger than 2 gb.
> 
> In line 350: int ierr = UnixWrite(fdes, &nrows, sizeof(nobs));
> 
> The type of ierr should be off_t because ierr will be assigned by the
> return value of lseek.
> 
> Cheers,
> Zheng
> 
> 
> _______________________________________________
> FastBit-users mailing list
> [email protected]
> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
> 
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to