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

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

[Octave-bug-tracker] [bug #55577] textscan should reject any single-prec


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #55577] textscan should reject any single-precision arg as invalid (file-io.cc-tst BIST test failure)
Date: Wed, 30 Jan 2019 14:36:13 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #14, bug #55577 (project octave):

Is there some reason that we can't just use the same code that is used by
other functions like fread that work with file IDs?


  octave::stream_list& streams = interp.get_stream_list ();

  octave::stream os = streams.lookup (args(0), "fread");


The lookup function allows lookup by name or number.  Using this same approach
would make it consistent.  If there is something wrong with finding the file
this way, then I think it should be addressed in the same way for all
functions that work with file IDs.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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