3.0.4 RC3 (mingw 3.4.5)-2

Benjamin Lindner lindnerben at gmx.net
Fri Jan 30 11:11:24 CST 2009


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 1
>   d:\usr\Tatsu\mingwhome\octaves\octave-3.0.4RC3\scripts/miscellaneous\fileparts.m  PASS    6/9   
> FAIL 3
>   test_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


More information about the Octave-maintainers mailing list