bugGNU Octave - Bugs: bug #39604, [octave forge] (ocs)...

 
 

bug #39604: [octave forge] (ocs) loading/unloading the package may clobber user variables

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Mon 29 Jul 2013 09:40:18 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Mon 29 Jul 2013 10:49:05 AM UTC, comment #1: 

thanks, I'll try to fix this in the next release.
c.

Carlo de Falco <cdf>
Group Member
Mon 29 Jul 2013 09:40:18 AM UTC, original submission:  

The PKG_{ADD,DEL} scripts of the ocs package suffer from the same problem diagnosed for the geometry package (Bug #39392).


octave:1> pkg unload ocs
octave:2> ii = 9;
octave:3> pkg load ocs
octave:4> ii
ii =  6


You might consider applying the same fix proposed in the discussion of Bug #39392, namely putting all the code in PKG_{ADD,DEL} inside "private" functions.

Rafael Laboissière <rlaboiss>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by cdf (Posted a comment)
  • -email is unavailable- added by rlaboiss (Submitted the item)
  •  

    Votes

    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.

     

    History

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-13 jwe Summaryocs: loading/unloading the package may clobber user variables [octave forge] (ocs) loading/unloading the package may clobber user variables

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code