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

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

[Octave-bug-tracker] [bug #36677] make_absolute_filename: extend to work


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #36677] make_absolute_filename: extend to work with Windows drive letters
Date: Sun, 3 Mar 2019 16:31:48 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Follow-up Comment #23, bug #36677 (project octave):

@Markus, comment #19:

_A short practical answer:_
I didn't hit problems related to this bug the last years. IIRC there was a
somewhat related issue but it was either solved or didn't hurt anymore.

_A longer, more philosophical and maybe/probably less useful answer is this:_

Reading back upon this old bug I think one unsolved aspect, or peculiarity, is
how make-absolute_filename would be supposed to work on Windows systems, where
can have several distinct drive letters, and on each drive one has a different
"working" directory.

So, when my current working directory is C:\Users\Philip\octave, I could do in
a cmd window:

cd F:\some\other\directory

and then if I would type:

type 'dir F:' (w/o quotes and w/o filesep) the contents of
F:\some\other\directory would be listed rather than the contents of F:\ (F:'s
root dir).

Now, in Octave it is already impossible to do something like
dir F:
while one CAN do
dir F:/
and
dir C:
(hmm, another inconsistency)

IMI we'd better ignore these DOS-era (but still working) idosyncrasies.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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