|
From: | Garrett Euler |
Subject: | [Octave-bug-tracker] [bug #48247] addpath('dir1', 'dir2', 'dir3') reverses input directory order |
Date: | Thu, 16 Jun 2016 21:45:14 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Firefox/38.0 |
Follow-up Comment #2, bug #48247 (project octave): Yeah I completely agree. I wanted to do the something basically equivalent to that: concatenate all the args into a single string and then create the list of directories with split_path. That would get rid of the outer loop (over each arg). I couldn't see a function that did the opposite of split_path to concatenate the args with the path separator and my c++ is too weak to create my own function that does it so I went with the logic duplication. _______________________________________________________ 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] |