[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56267] addpath() on Windows fails to recogniz
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #56267] addpath() on Windows fails to recognize same subdirs with different fileseps and case |
Date: |
Fri, 20 Sep 2019 11:02:41 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0 |
Follow-up Comment #8, bug #56267 (project octave):
As we require that a directory already exists when we add it to the path, we
might be able to call GetLongPathNameW [1] to query (and add) the "canonical"
path of that directory.
Fwiw, here is what I see on Windows 10 with Octave 5.1.0:
>> canonicalize_file_name ('C:\USERS\Markus')
ans = C:\USERS\Markus
>> canonicalize_file_name ('C:\Users\Markus')
ans = C:\Users\Markus
[1]:
https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getlongpathnamew
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56267>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56267] addpath() on Windows fails to recognize same subdirs with different fileseps and case,
Markus Mützel <=