|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #33012] getappdata called before setappdata should not fail |
Date: | Thu, 07 Apr 2011 11:16:10 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 |
URL: <http://savannah.gnu.org/bugs/?33012> Summary: getappdata called before setappdata should not fail Project: GNU Octave Submitted by: None Submitted on: jeu. 07 avril 2011 11:16:09 UTC Category: Plotting Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: David Bateman Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any Release: 3.4.0 Operating System: GNU/Linux _______________________________________________________ Details: In matlab the getappdata function can be called before setappdata and an empty matrix is returned. Octave's getappdata function should be modified accordingly. Either the call to get(h, "__appdata__") might be wrapped in an unwind_protect, or the presence of the property might be tested before it is used. Sorry I can't fix this myself as I don't have access to my development machine at the moment. D. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?33012> _______________________________________________ Message posté via/par Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |