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

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

[Octave-bug-tracker] [bug #43926] test fullfile fails in MXE-Octave ver.


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #43926] test fullfile fails in MXE-Octave ver. 4.1.0+
Date: Sun, 04 Jan 2015 12:27:42 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30

Follow-up Comment #2, bug #43926 (project octave):

Took a brief look in the fullfile.m function. Some comments:

1. In 4.1.0+ there's a completely new fullfile.m version compared to 3.9.0+.

2. (Just a hunch) maybe the various "/" entries _in the last tests_ had better
be replaced by filesep characters (variable 'fs') to match the system's native
file separator character ?  
...but then again....:

3. On Windows, where filesep equals "\" (backslash), Octave very very often
works equally well with "/" (forward slash) file separators. In fact I rarely
use backslashes when doing file handling stuff with Octave on Windows.
Moreover, several Java functions when called through the Java interface simply
do not accept backslashes as file separators, they want forward slashes,
whether on Windows or not.

So relying on the system's filesep may need a little more rigid
investigation.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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