This is the mail archive of the
mailing list for the Cygwin project.
Re: Binary file write has CRLF inserted
- From: ericblake at comcast dot net (Eric Blake)
- To: DSP Tech <dsptech at hotmail dot com>, cygwin at cygwin dot com
- Date: Fri, 11 Nov 2005 14:45:06 +0000
- Subject: Re: Binary file write has CRLF inserted
> 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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html