Hi,

I'm attempting to manipulate a large file (4.4GB or so) in a procedure.

As part of my processing the file, I'm maintaining a buffer and index.  My
problem comes in comparing my index to the filesize.  file_stat(filePath,
1) returns the size as a varchar and atoi() over that gives me a truncated
value (423557276).  atof has precision problems, giving a value of
4718524416.000000 instead of 4718524572 which proves to be an issue.

Are there any suggestions on ways to use file_stat on large files?  It
becomes an issue when I want to do something like
while(bufferIndex<=fileSize)...

-- 
Quentin | Clear Blue Water Pty Ltd
[email protected]

Reply via email to