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

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

[Octave-bug-tracker] [bug #46493] Incorrect result from fscanf and scanf


From: Rik
Subject: [Octave-bug-tracker] [bug #46493] Incorrect result from fscanf and scanf with %i format
Date: Sun, 31 Jan 2016 04:39:34 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)

Follow-up Comment #12, bug #46493 (project octave):

The issue is that Vlast_warning_id and Vlast_warning_message are meant to be
private variables only modified through explicit calls to error and warning. 
If we have functions changing internal state through backdoor mechanisms then
the code can become unstable.  Worse, the resulting problems can be very hard
to debug.

On the other hand, maybe it would be okay to call warning and then check, as
you suggest, for both a warning or os.error being set.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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