|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #48247] addpath('dir1', 'dir2', 'dir3') reverses input directory order |
| Date: | Mon, 20 Jun 2016 01:18:40 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #48247 (project octave):
Status: Patch Submitted => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #7:
@Lachlan: I thought your solution was very efficient, but possibly hard to
understand, and thus difficult to maintain a few years from now when our
memories have all deteriorated.
I checked in a slightly different solution
(http://hg.savannah.gnu.org/hgweb/octave/rev/c46e2532d421) where I copy the
argument list and then call reverse() on the list if the append option is
given. This matches up well with the existing code which also has that
structure.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48247>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |