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

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

[Octave-bug-tracker] [bug #54622] test importdata fails in dev octave wi


From: Rik
Subject: [Octave-bug-tracker] [bug #54622] test importdata fails in dev octave with windows
Date: Thu, 6 Sep 2018 16:11:30 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #19, bug #54622 (project octave):

Just for grins, I changed to 'wt' on Linux and it works fine.

The same modification fails every time on Windows.

@John, can you try modifying line 159 of importdata to this


  [fid, msg] = fopen (fname, "rt");


The script uses a switch statement on the extension to determine which
internal subroutine to use to load the data.  If there is no extension, or an
unrecognized extension, it goes to importdata_ascii.  In this routine, I think
we should open the file using 'rt' so that we are sure we are getting text.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54622>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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