'fopen' successfully opens directories
Søren Hauberg
soren at hauberg.org
Wed Apr 23 12:30:48 CDT 2008
ons, 23 04 2008 kl. 13:16 -0400, skrev John W. Eaton:
> On 23-Apr-2008, Sergei Steshenko wrote:
>
> | Which file implements 'fopen' in 'octave' ? And which function(s) in it ?
>
> Look in src/file-io.cc. Make the change in do_stream_open function.
> Take advantage of the file_stat class from liboctave.
One way to answer questions like the one above, is to look at the
function reference at the Octave-Forge website. Basically go to
http://octave.sourceforge.net/doc/index.html and locate the function in
question ('fopen' in this case). Here you will see in what file the
function is implemented.
Just thought I'd mention it,
Søren
More information about the Bug-octave
mailing list