'fopen' successfully opens directories
Sergei Steshenko
sergstesh at yahoo.com
Wed Apr 23 09:58:10 CDT 2008
Hello,
please see this:
"
GNU Octave, version 3.0.1b
[snip]
octave:1> fid = fopen("/tmp", "r")
fid = 3
octave:2> fread(fid, inf, "double")
ans = [](0x1)
"
- I would expect failure, i.e. negative 'fid', from 'fopen' in such a case.
Thanks,
Sergei.
Applications From Scratch: http://appsfromscratch.berlios.de/
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the Bug-octave
mailing list