File reading problem with -mno-cygwin

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Sep 4 02:01:00 GMT 2002


On Tue, Sep 03, 2002 at 07:33:20PM -0700, Andrew DeFaria wrote:
>  if ((fp = fopen ("sf", "r")) == NULL) {

Try          fopen ("sf", "rb")

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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



More information about the Cygwin mailing list