Hello,

> > As it is now, if I link binmode.o to the application, it does nothing. (or 
> > is this intended?)
> > With this, I get the expected behavior (all opened files are by default 
> > opened in binary mode).

> The binary-mode is default behavior for mingw-w64.  So of course there
> is no difference in using binmode.o object.  That we install this
> object-file at all is IMHO a bug, or better said useless.

Are you sure this is working?
I tried now the new release i686-4.8.1-release-win32-sjlj-rt_v3-rev2.7z,
and in my test-program the files are always opened in text-mode.

I only get it to work if I set _fmode=_O_BINARY before the opening of files.

Regards
Domani Hannes


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to