'fopen' successfully opens directories
John W. Eaton
jwe at bevo.che.wisc.edu
Thu Apr 24 01:52:47 CDT 2008
On 23-Apr-2008, Sergei Steshenko wrote:
| --- "John W. Eaton" <jwe at bevo.che.wisc.edu> wrote:
|
| > Instead of a warning, maybe it would be better to just be compatible
| > with the other brand and return -1?
| What about 'matlab' compatibility ? I do not have 'matlab' to try.
I thought that from what I wrote above it was clear that the Matlab
behavior is to return -1 for directories. I checked in the following
patch. It is really just a two line change plus changes in
indentation.
jwe
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080424/0496680d/attachment.ksh
More information about the Bug-octave
mailing list