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

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

[Octave-bug-tracker] [bug #34731] Octave cannot run m-files from a remov


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #34731] Octave cannot run m-files from a removable drive with a subst disk
Date: Fri, 03 Feb 2012 19:54:12 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

Follow-up Comment #8, bug #34731 (project octave):

Here you go:

octave:6> isdir ('F:')
ans =  1
octave:7> isdir ('F:')
ans =  1
octave:8> isdir ("F:")
error: unterminated string constant
parse error:

  syntax error

>>> isdir ("F:")
                 ^

octave:8> isdir ("F:\")
ans =  1
octave:9> isdir ("F:/")
ans =  1
octave:10> isdir ("F:/svn/octave.sf.net")
ans =  1
octave:11>

Unfortunately I have no debug Octave. Tatsuro might have.
The backslash is a problematic character on Windows, as far as Octave goes.

But even while using Octave on Windows, I often use forward slash rather than
backslash in path names - it works as good as a backslash (!), as you can see
above in prompts 9 & 10.
In my .octaverc file I have forward slashes in all path names (to default dir,
to Notepad++ editor, etc).

Perhaps this is a way out? to simply skip "filesep" - I can only guess that
the MinGW file I/O libs substitute the proper file separator at the right
time.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34731>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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