octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file offsets used by fseek and ftell


From: John W. Eaton
Subject: Re: file offsets used by fseek and ftell
Date: Fri, 23 Jan 2004 11:35:50 -0600

On 23-Jan-2004, Alois Schloegl <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]