[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51268] addpath fails for UNC paths on Windows
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #51268] addpath fails for UNC paths on Windows |
Date: |
Wed, 21 Jun 2017 09:40:39 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #2, bug #51268 (project octave):
The problem is probably with the following lines in load-path.cc (around line
2420) introduces with
http://hg.savannah.gnu.org/hgweb/octave/rev/d5a58720459d
// Remove duplicate directory separators
dir.erase (std::unique (dir.begin (), dir.end (),
[](char l, char r)
{
return l == r &&
octave::sys::file_ops::is_dir_sep
(l);
}),
dir.end ());
How could that be adapted to allow the string to start with two directory
separators (on Windows)?
For the time being you could map the network share to a drive letter and add
the folder to the path from there.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51268>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/