|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #59706] Avoid "canonicalize_file_name" on Windows |
Date: | Mon, 21 Dec 2020 11:42:22 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 |
Follow-up Comment #14, bug #59706 (project octave): @Markus: I think of resolving symbolic links as being part of either making the path absolute, or checking whether the file exists. I believe we are in complete agreement. Since it is going to be a long while before C++17 is supported by Octave we might look at improving Octave's own functions in this regard. These are located in liboctave/utils/oct-env.[h|cc]. In particular, it's likely that Octave is just taking a shortcut and scanning for '.' or '..' only at the front of the string. We could extend the algorithm to search through the entire string and eliminate all such instances. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59706> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |