Mail Archives: djgpp-workers/2000/12/14/04:33:22
On Wed, 13 Dec 2000, Peter J. Farley III wrote:
> >So I think it would be easier for you to dump filelength and use
> >llseek in all cases, including the FAT16 branch. In other words,
> >expand filelength's guts inline and replace lseek with llseek.
>
> Or just change filelength to use llseek. Isn't that a better
> solution?
Perhaps. But I didn't want to add yet another cleanup job to what you
need to do ;-)
> Of course, if the definition of filelength insists on a long
> result, wrong results can still be returned. If that's the case, what
> about an "l" version of filelength (though "lfilelength" seems a bit of
> a cumbersome name, IMHO) which returns a long long?
filelength is a compatibility function, so a variant for large files
should follow name conventions on the platforms which have such a
variant. Can someone look and suggest a name?
- Raw text -