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

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

[Octave-bug-tracker] [bug #55577] test in file-io.cc-tst fails on Octave


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55577] test in file-io.cc-tst fails on Octave 5.0.90 (only in GUI with run_test_suite)
Date: Fri, 25 Jan 2019 17:39:10 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Update of bug #55577 (project octave):

                  Status:            Works For Me => Need Info              

    _______________________________________________________

Follow-up Comment #3:

Can someone with access to Matlab verify whether a single precision value is
acceptable as a file descriptor to the textscan function?


fname = tempname();
fid = fopen(fname);
c = textscan(single(fid), '%s');


If not, then we should probably make the input validation stricter again and
keep the test, and probably reduce the numbers back to 4 instead of 40. My
guess is whoever worked on the translation from m-file to C++ didn't
understand what these input validation tests were testing for.

It it is acceptable, then we should keep the code as it is and delete the
test.

    _______________________________________________________

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]