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

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

[Octave-bug-tracker] [bug #39604] ocs: loading/unloading the package may


From: Rafael Laboissiere
Subject: [Octave-bug-tracker] [bug #39604] ocs: loading/unloading the package may clobber user variables
Date: Mon, 29 Jul 2013 09:40:19 +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/?39604>

                 Summary: ocs: loading/unloading the package may clobber user
variables
                 Project: GNU Octave
            Submitted by: rlaboiss
            Submitted on: Mon 29 Jul 2013 09:40:18 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 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.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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