[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62414] movefile for relative paths doesn't wo
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #62414] movefile for relative paths doesn't work on Windows anymore. |
Date: |
Sat, 7 May 2022 10:45:21 -0400 (EDT) |
Follow-up Comment #3, bug #62414 (project octave):
Thanks for the very quick fix! I tested with the Friday release from
buildbot.octave.space and can confirm that movefile() on Windows works again
for my use cases.
One small difference between __wglob__('..\a\b\c\') on Octave 6.4 and fixed
Octave 7.1.1 remains: The final fileseparator is retained under Octave 6.4,
but stripped away under 7.1.1, ie.
6.4: ans = '..\a\b\c\'
7.1.1: ans = '..\a\b\c'
The standard glob('..\a\b\c\') always results in ans = '..\a\b\c\' on both
versions, with the final filesep kept in the output.
This didn't affect my scripts, but I thought it is worth pointing out, in case
it would matter somewhere else.
-mario
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62414>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/