[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57664] dir() function folder element is empty
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #57664] dir() function folder element is empty for Windows UNC network-based files |
Date: |
Sun, 26 Jan 2020 21:08:37 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #2, bug #57664 (project octave):
The function canonicalize_file_name we get from gnulib. Can you check whether
the UNC path actually exists at the time canonicalize_file_name is called?
You can do that without calling dir() by just invoking the function directly.
r = canonicalize_file_name ("//hostname/path/to/directory")
The function will return "" if it cannot find the path which could be caused
by typos, network errors, etc.
Also, see bug #45816 from 5 years ago in which other problems with
canonicalize_file_name were addressed.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57664>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57664] dir() function folder element is empty for Windows UNC network-based files, Dan Sebald, 2020/01/25
- [Octave-bug-tracker] [bug #57664] dir() function folder element is empty for Windows UNC network-based files, Philip Nienhuis, 2020/01/25
- [Octave-bug-tracker] [bug #57664] dir() function folder element is empty for Windows UNC network-based files,
Rik <=
- [Octave-bug-tracker] [bug #57664] dir() function folder element is empty for Windows UNC network-based files, Markus Mützel, 2020/01/27
- [Octave-bug-tracker] [bug #57664] dir() function folder element is empty for Windows UNC network-based files, Rik, 2020/01/27
- [Octave-bug-tracker] [bug #57664] dir() function folder element is empty for Windows UNC network-based files, John W. Eaton, 2020/01/27
- [Octave-bug-tracker] [bug #57664] dir() function folder element is empty for Windows UNC network-based files, Dan Sebald, 2020/01/28
- [Octave-bug-tracker] [bug #57664] dir() function folder element is empty for Windows UNC network-based files, Mike Miller, 2020/01/31
- [Octave-bug-tracker] [bug #57664] dir() function folder element is empty for Windows UNC network-based files, Dan Sebald, 2020/01/31