Mercurial > octave-nkf
diff libinterp/interp-core/oct-strstrm.cc @ 16011:8122286c69a9
initial large file support for 32-bit systems
* bootstrap.conf (gnulib_modules): Explicitly list largefile.
* c-file-ptr-stream.cc, c-file-ptr-stream.h, oct-fstrm.cc,
oct-fstrm.h, oct-iostrm.cc, oct-iostrm.h, oct-stdstrm.h,
oct-stream.cc, oct-stream.h, oct-strstrm.cc, oct-strstrm.h,
file-io.cc: Use off_t instead of long for seek and tell file position
values.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 07 Feb 2013 11:58:46 -0500 |
parents | 2fc554ffbc28 |
children |
line wrap: on
line diff
--- a/libinterp/interp-core/oct-strstrm.cc Thu Feb 07 11:58:40 2013 -0500 +++ b/libinterp/interp-core/oct-strstrm.cc Thu Feb 07 11:58:46 2013 -0500 @@ -29,7 +29,7 @@ // Position a stream at OFFSET relative to ORIGIN. int -octave_base_strstream::seek (long, int) +octave_base_strstream::seek (off_t, int) { error ("fseek: invalid operation"); return -1; @@ -37,7 +37,7 @@ // Return current stream position. -long +off_t octave_base_strstream::tell (void) { error ("ftell: invalid operation");