octave-maintainers
[Top][All Lists]
Advanced

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

Re: C++ implemntation of textscan


From: John W. Eaton
Subject: Re: C++ implemntation of textscan
Date: Tue, 27 Oct 2015 16:19:22 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0

On 10/26/2015 01:14 AM, LachlanA wrote:

My biggest concern is that it needs tellg(), which was explicitly disabled
(#if 0) in libinterp/corefcn/c-file-ptr-stream.cc with the cryptic comment
"FIXME", giving no indication of why it was disabled.

Probably because of potential type problems of int vs off_t. It looks like the c_file_ptr_buf::seek and c_file_ptr_buf::tell functions now use fseeko and ftello, so tellg could probably just be implemented using those.

jwe




reply via email to

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