Binary file write has CRLF inserted

Eric Blake ericblake@comcast.net
Fri Nov 11 18:59:00 GMT 2005


> I have used cygwin to build the GCC ARM tools and libraries.  I am using the 
> cygwin1.dll for running my application on windows.
> 
> 		fp = fopen("c:\\hi.yuv", "wb");

There's your problem.  Use POSIX names if you want POSIX
behavior.  Try fopen("/cygdrive/c/hi.yuv") instead.

--
Eric Blake



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list