|
From: | Philip Nienhuis |
Subject: | [Octave-bug-tracker] [bug #58326] canonicalize_file_name returns empty on file names starting with tilde |
Date: | Thu, 7 May 2020 13:19:30 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #1, bug #58326 (project octave): __Would make_absolute_filename be a better alternative? __ Hmmm, guess not: >> make_absolute_filename ('./.bashrc') ans = /home/philip/.bashrc >> make_absolute_filename ('~/.bashrc') ans = /home/philip/~/.bashrc In the docs for canonicalize_file_name and make_absolute_filename there's no mention that a leading tilde should be avoided, or expanded first. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?58326> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |