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


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

Submitted by:  Rafael Laboissiere <rlaboiss>
Submitted on:  Mon 29 Jul 2013 09:42:55 AM UTC  
Category:  Octave Forge 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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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

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

Carlo de Falco <cdf>
Project 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 Laboissiere <rlaboiss>


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

Attach Files:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.6