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

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

[Octave-bug-tracker] [bug #62847] addpath incorrectly processes symlinks


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #62847] addpath incorrectly processes symlinks on mapped network drives
Date: Thu, 1 Sep 2022 16:25:32 -0400 (EDT)

Follow-up Comment #61, bug #62847 (project octave):

ok, much improved!


>> cd R:
>> [c,s,m] = canonicalize_file_name ('current_backup_20210803_1550.pst')
c =
\\full.server.name\PSTStorage\PST_Storage_nicholas.jankowski\current_backup_20210803_1550.pst
s = 0
m =

>> ls(c)
//full.server.name/PSTStorage/PST_Storage_nicholas.jankowski/current_backup_20210803_1550.pst

>> [c,s,m] = canonicalize_file_name ('R:\current_backup_20210803_1550.pst')
c = R:\current_backup_20210803_1550.pst
s = 0
m =

>> ls(c)
R:/current_backup_20210803_1550.pst

>> cd temp

>> [c,s,m] = canonicalize_file_name ('current_backup_20210803_1550.pst')
c =
\\full.server.name\PSTStorage\PST_Storage_nicholas.jankowski\temp\current_backup_20210803_1550.pst
s = 0
m =

>> ls(c)
//full.server.name/PSTStorage/PST_Storage_nicholas.jankowski/temp/current_backup_20210803_1550.pst

>> [c,s,m] = canonicalize_file_name
('R:\temp\current_backup_20210803_1550.pst')
c = R:\temp\current_backup_20210803_1550.pst
s = 0
m =

>> ls(c)
R:/temp/current_backup_20210803_1550.pst


I'd call that fixed for me.  I don't know if the change from \ to / in the ls
output is any concern.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62847>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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