[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48351] make_absolute_filename should canonica
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #48351] make_absolute_filename should canonicalize absolute filename inputs |
Date: |
Sat, 2 Jul 2016 22:08:03 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #48351 (project octave):
Summary: make_absolute_filename should strip trailing file
separator characters => make_absolute_filename should canonicalize absolute
filename inputs
_______________________________________________________
Follow-up Comment #5:
I pushed a change to make_absolute_filename here
(http://hg.savannah.gnu.org/hgweb/octave/rev/6e618b8277ad).
This fixes the issue with run.m, however, it still doesn't fix an input which
is already an absolute filename such as '///'. In that case, do_make_absolute
uses do_absolute_pathname() to determine that it is already absolute so it
doesn't process it. We could remove that check, but that might carry a
performance penalty. While using gdb, I found that do_make_absolute is called
every time Octave returns to the command line.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48351>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/