bugGNU Octave - Bugs: bug #39605, [octave forge] (secs2d)...

 
 

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

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Mon 29 Jul 2013 09:42:55 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

Add a New Comment Rich Markup
   

Mon 29 Jul 2013 10:48:25 AM UTC, comment #1: 

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

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

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


octave:1> pkg unload secs2d
octave:2> ii = 9;
octave:3> pkg load secs2d
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>

 

(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 jwe (Updated the item)
  • -email is unavailable- added by cdf (Posted a comment)
  • -email is unavailable- added by rlaboiss (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.

     

    Follows 1 latest change.

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

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code