bugGNU Octave - Bugs: bug #35712, rmpref doesn't delete preference

 
 

bug #35712: rmpref doesn't delete preference

Submitter:  Rik <rik5>
Submitted:  Sat 03 Mar 2012 10:34:55 PM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 09 Apr 2012 08:07:58 PM UTC, comment #1: 
Rik <rik5>
Group administrator
Sat 03 Mar 2012 10:34:55 PM UTC, original submission:  

rmpref doesn't actually delete anything.  There is no call to saveprefs () for example.

Sample code:

addpref ("group1", "test1", pi);
getpref ("group1", "test1")
ans =  3.1416
rmpref ("group1", "test1")
ans =  0
getpref ("group1", "test1")
ans =  3.1416



Rik <rik5>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-04-09 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code