octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48351] make_absolute_filename should strip tr


From: Rik
Subject: [Octave-bug-tracker] [bug #48351] make_absolute_filename should strip trailing file separator characters
Date: Sat, 2 Jul 2016 19:18:47 +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):

                  Status:                    None => Confirmed              
                 Summary: run does not return to original working directory =>
make_absolute_filename should strip trailing file separator characters
              Depends on:                         => bugs #45231            

    _______________________________________________________

Follow-up Comment #2:

The root problem is that make_absolute_filename should strip trailing
directory separators.  canonicalize_file_name() does that correctly as shown
below for the root directory.


debug> make_absolute_filename ("///")
ans = ///
debug> canonicalize_file_name ("///")
ans = /


Linking to bug #45231 which is related.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48351>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]