help-octave
[Top][All Lists]
Advanced

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

Re: GNU Octave 3.4.2 Released


From: John W. Eaton
Subject: Re: GNU Octave 3.4.2 Released
Date: Fri, 24 Jun 2011 17:17:15 -0400

On 25-Jun-2011, Tatsuro MATSUOKA wrote:

| If you have the time, please tell me what is wrong with the below test.

| **********************************
| >>>>> pr-output.cc
|   ***** test
| format short
| fd = tmpfile ();
| for r = [0, Inf -Inf, NaN]
|    for i = [0, Inf -Inf, NaN]
|      fdisp (fd, complex (r, i));
|    endfor
| endfor
| fclose (fd);
| !!!!! test failed
| fdisp: invalid stream number = -1
| *************************************

The tmpfile function is failing and returning -1.  Why does that
happen here?  Does it happen every time tmpfile is called?

The tmpfile function is defined in file-io.cc but doesn't appear to
have any tests of its own.

jwe


reply via email to

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