This is the mail archive of the cygwin@cygwin.com 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: File reading problem with -mno-cygwin


>One question remains however and that is why would it work in Cygwin but 
>not in -mno-cygwin? My theory is that opening a file with "r" under 
>Cygwin is equivalent to "rb".

Not in all situations.  Under cygwin, opening with "r" may be equivalent
to "rb", or it may not.  Depends on how your filesystem was mounted, some
environment options, and a few other factors.

-Richard Campbell.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]