octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #33652] tmpfile () does not work on MinGW
Date: Sun, 26 Jun 2011 22:10:17 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.100 Safari/534.30

URL:
  <http://savannah.gnu.org/bugs/?33652>

                 Summary: tmpfile () does not work on MinGW
                 Project: GNU Octave
            Submitted by: tmacchant
            Submitted on: 2011年06月26日 22時10分16秒
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Hello

In the 'make check' test, the below occurred. 
 pr-output.cc  PASS    0/1 FAIL 1
********************************** 
>>>>> 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 
************************************* 

I have execute
*********************************
octave.exe:1> fd = tmpfile ()
fd = -1
octave.exe:2> fdisp(fd,1)
error: fdisp: invalid stream number = -1
**********************************

This happens octave-dev source on 201-06-24 and 3.2.4rc2.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33652>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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