|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #37277] octave_config_info() incorrectly modifies configuration profile |
Date: | Wed, 05 Sep 2012 23:58:13 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0 |
URL: <http://savannah.gnu.org/bugs/?37277> Summary: octave_config_info() incorrectly modifies configuration profile Project: GNU Octave Submitted by: rik5 Submitted on: Wed 05 Sep 2012 04:58:12 PM PDT Category: Libraries Severity: 2 - Minor Priority: 5 - Normal Item Group: Inaccurate Result Status: Confirmed Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: GNU/Linux _______________________________________________________ Details: octave_config_info() should treat the configuration information as read-only data. Instead, if you ask for a non-existent piece of configuration information the key is created and the value is not set to anything. This seems to have been a problem all the way back to the 3.2.X series. Example: more off octave_config_info ("JUNK") octave_config_info ---After many variables go by--- mac = 0 windows = 0 JUNK = error: octave_base_value::print (): wrong type argument `<unknown type>' _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?37277> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |