This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: File reading problem with -mno-cygwin
- From: Richard Campbell <richard dot campbell at air2web dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Wed, 4 Sep 2002 15:53:10 -0400
- Subject: 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/