From octave-maintainers-request at bevo dot che dot wisc dot edu Fri Jan 23 11:36:43 2004 Subject: Re: file offsets used by fseek and ftell From: "John W. Eaton" To: Alois Schloegl Cc: octave-maintainers at bevo dot che dot wisc dot edu, bug-octave@bevo.che.wisc.edu Date: Fri, 23 Jan 2004 11:35:50 -0600 On 23-Jan-2004, Alois Schloegl wrote: | The origin for introducing the STREAMPOS object was the ability to | access files larger than 4GBytes. If the issue becomes a question | whether octave should support, (1) access to files larger than 4GB or | (2) FTELL returning a numeric value, I second the later. If you (or someone) can show me a *portable* way to get the file position as an integer, then we can convert it back. The motivation for the change is to be able to support large files *and* allow Octave to compile with future C++ systems that don't necessarily have streampos/streamoff as a simple integer. I'm not interested in converting all the internals of Octave to use C stdio. jwe