|
From: | Benjamin Lindner |
Subject: | Re: 3.0.4 RC3 (mingw 3.4.5)-2 |
Date: | Fri, 30 Jan 2009 18:11:24 +0100 |
User-agent: | Thunderbird 2.0.0.18 (Windows/20081105) |
Tatsuro MATSUOKA wrote:
Hello Jaroslav Hajek Thank you for your efforts. I have tested 3.0.4 RC3 using mingw-3.4.5. Integrated test scripts: d:\usr\Tatsu\mingwhome\octaves\octave-3.0.4RC3\src\ov-fcn-handle.cc PASS 2/3 FAIL 1d:\usr\Tatsu\mingwhome\octaves\octave-3.0.4RC3\scripts/miscellaneous\fileparts.m PASS 6/9 FAIL 3test_string.m .......................................... PASS 130/131 FAIL 1 d:\usr\Tatsu\mingwhome\octaves\octave-3.0.4RC3\src\ov-fcn-handle.cc PASS 2/3 FAIL 1 This is perhaps not problem for Benjamin's build. (Hi Benjamin, am I right?)
This problem is imminent to mingw's implementation of iostream's file-io. You cannot use fseekg()/fputg() with files opened in text-mode.
This is a known problem and I don't expect it to be solved in mingw.To work around it in octave we need to rethink octave's way to save anonymous function handles in ascii format. I have tried something for in the development branch, which allows this test to pass, but it means a small but significant change in the format of saving anonymous function handles. This breaks backwards compatibility, so I'm not really happy about my approach.
I can post it here to start discussions, though... benjamin
[Prev in Thread] | Current Thread | [Next in Thread] |