This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Binary read on textmode mount


On Fri, Nov 05, 2004 at 11:48:31AM -0500, Shaffer, Kenneth wrote:
>I'm using the cygwin development environment and so thought this was the
>correct place to post a problem. But you make a good point, so I copied
>the file to /tmp, mounted as binary, and got the same results.

You are running a windows program.

Windows programs DO NOT UNDERSTAND cygwin mounts.  Cygwin doesn't
magically affect any windows program which runs in "the cygwin
development environment".

If you want to open a file in binary mode use "rb" in your fopen
call or O_BINARY in your open call.

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]