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

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

[Octave-bug-tracker] [bug #57983] addpath with a relative directory caus


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #57983] addpath with a relative directory causes load-path warnings
Date: Wed, 11 Mar 2020 00:42:07 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36

Update of bug #57983 (project octave):

              Item Group:                    None => Unexpected Error       
                  Status:                    None => Need Info              
                 Summary: -p command-line argument causes spurious load-path
warnings => addpath with a relative directory causes load-path warnings

    _______________________________________________________

Follow-up Comment #2:

Thank you for the bug report. This is confirmed, but doesn't really have
anything to do with the command line option. This is really about the
'addpath' function with an argument that is a relative directory name.

For example:


mkdir /tmp/xyz
cd /tmp
addpath xyz
cd


What does Matlab's addpath function do with relative directory arguments? Does
it expand to the full canonical directory name before adding it to the path?
Or does it do what Octave does? Is there a warning when the working directory
is changed after doing so?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57983>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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