[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48351] make_absolute_filename should strip tr
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #48351] make_absolute_filename should strip trailing file separator characters |
Date: |
Sat, 2 Jul 2016 21:22:39 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #3, bug #48351 (project octave):
Why not just change run.m to use canonicalize_file_name? The difference
between the two is that make_absolute_filename() works on paths as strings,
the files and directories don't have to actually exist. And
canonicalize_file_name requires files and directories to exist, follows
symlinks, and converts filesep characters. But in run.m we already know the
directory exists, so it should be safe.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48351>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/