Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Sun, 5 Sep 1999 22:24:56 -0400 To: Victor Szel Cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: BUG: open() O_ flags one bit too high Message-ID: <19990905222456.A1738@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: Victor Szel , cygwin AT sourceware DOT cygnus DOT com References: <002a01bef73b$13244db0$0a0ac8c8 AT VECWS1> <19990905021026 DOT A8934 AT cygnus DOT com> <005e01bef777$eff7b5b0$0a0ac8c8 AT VECWS1> <19990905130618 DOT A754 AT cygnus DOT com> <01d001bef808$79161630$0a0ac8c8 AT VECWS1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <01d001bef808$79161630$0a0ac8c8@VECWS1>; from Victor Szel on Mon, Sep 06, 1999 at 03:38:07AM +0200 On Mon, Sep 06, 1999 at 03:38:07AM +0200, Victor Szel wrote: >> If you're using cygwin headers in a non-cygwin (aka mingw) application, >> then, um, that's wrong. You should be using another set of headers. >> I'm sure that someone will coment on this and let you know which they >> should be. > >Yeah really strange. > >One more idea: we are linking MOLDNAME lib, couldn't that be a problem. >BTW we are including and , so the flags should >be OK, but it seems that the open() function is executed from the MFC DLL >which uses different flag values. As far as I can see, the mingw headers match the VC++ headers. Both define O_CREAT as 0x100. It sure sounds like you are not using the mingw headers. -chris -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com