[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49695] Invalid FID and fopen(FID)
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #49695] Invalid FID and fopen(FID) |
Date: |
Thu, 24 Nov 2016 11:15:31 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
URL:
<http://savannah.gnu.org/bugs/?49695>
Summary: Invalid FID and fopen(FID)
Project: GNU Octave
Submitted by: gyom
Submitted on: Thu 24 Nov 2016 11:15:27 AM GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Guillaume
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
If FID is an invalid handle, fopen(FID) should return an empty string instead
of throwing an error, for compatibility with Matlab:
> fopen (-1)
error: invalid stream number = -1
vs
>> fopen(-1)
ans =
0×0 empty char array=
See https://www.mathworks.com/help/matlab/ref/fopen.html#description
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49695>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49695] Invalid FID and fopen(FID),
Guillaume <=