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

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

[Octave-bug-tracker] [bug #34868] subsref crashes octave


From: Rik
Subject: [Octave-bug-tracker] [bug #34868] subsref crashes octave
Date: Mon, 21 Nov 2011 22:24:27 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

Follow-up Comment #8, bug #34868 (project octave):

I agree with JWE.  Matlab flags an error because the function input isn't what
it is expecting, and I think Octave should do the same thing.

If you want to amend the patch that is fine.  I checked the emptyness of the
input via the number of elements because that value was already available.  If
the check for emptyness is moved up to the if statement that checks fieldnames
(utils.c:1173) then the error message at line 1235 should be rewritten to
something like "second argument must be a non-empty structure ..."

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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