octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #39605] secs2d package: loading/unloading the


From: Rafael Laboissiere
Subject: [Octave-bug-tracker] [bug #39605] secs2d package: loading/unloading the package may clobber user variables
Date: Mon, 29 Jul 2013 09:42:56 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?39605>

                 Summary: secs2d package: loading/unloading the package may
clobber user variables
                 Project: GNU Octave
            Submitted by: rlaboiss
            Submitted on: Mon 29 Jul 2013 09:42:55 AM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39605>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]