Sun 11 Jan 2015 09:01:16 PM UTC, comment #10:
see bug 43979
|
Sun 11 Jan 2015 07:40:34 PM UTC, comment #9:
@Avinoam:
Will you still file the bug report for unpack(), please?
Thanks
|
Sun 11 Jan 2015 07:32:50 PM UTC, comment #8:
I've adapted the original cs to also properly process drive letters on Windows + added two tests for that.
Pushed:
http://hg.savannah.gnu.org/hgweb/octave/rev/c304687571c8
closing report
|
Thu 08 Jan 2015 11:25:14 PM UTC, comment #7:
Yes, Matlab doesn't recognize "/" (slash) as path separator; although it changes it into a backslash. But doesn't collapse multiple consecutive backslashes into a single one.
Hmm.... looks like a ML bug...
Coming weekend I'll look again at his bug/patch
|
Wed 07 Jan 2015 10:06:56 PM UTC, comment #6:
Hi,
checking matlab compatability in MATLAB Version 7.10.0.499 (R2010a)
under windows:
Octave result is different.
|
Mon 05 Jan 2015 12:29:06 PM UTC, comment #5:
Thanks for testing.
It occurred to me that perhaps the patch needs a bit more polishing as Windows has drive letters and *nix has not. I'll look into that (= whether it's needed) later on.
As to unpack, yes I just tried but what I saw has nothing to do with file separators but with tmp file/dir stuff.
Anyway please file a bug report for the error you saw.
|
Sun 04 Jan 2015 08:39:02 PM UTC, comment #4:
Hi,
Thanks, it solves the bug.
Avinoam
P.S.
test unpack fails from the same reason ('/' and '\' are not
the same). Should I open another bug?
|
Sun 04 Jan 2015 01:46:35 PM UTC, comment #3:
Here's a fix that works on Windows.
I saw little other options than to change '/' file separators on Windows (that do work generally) into native file separators ('\').
I also thought about mentioning that in the texinfo header but couldn't come up with good wording. Anyone?
(file #32755)
|
Sun 04 Jan 2015 12:27:41 PM UTC, comment #2:
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.
|
Sun 04 Jan 2015 11:26:15 AM UTC, comment #1:
Confirmed.
It works fine in 3.9.0+
|
Sat 03 Jan 2015 08:24:36 PM UTC, original submission:
Hi,
using GNU Octave Version: 4.1.0+ on Windows-7, (mxe-octave)
fullfile test fails in 4 of 24 tests. For example:
Thanks.
Avinoam
|