delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/05/13:10:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 5 Nov 2004 13:08:12 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Binary read on textmode mount
Message-ID: <20041105180812.GD25396@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT CYG DOT 4 DOT 58 DOT 0411051050240 DOT 3688 AT Crunch DOT bcgssbd DOT sciatl DOT com> <20041105164033 DOT 9CEF11B3FA AT cgf DOT cx> <Pine DOT CYG DOT 4 DOT 58 DOT 0411051258430 DOT 3688 AT Crunch DOT bcgssbd DOT sciatl DOT com>
Mime-Version: 1.0
In-Reply-To: <Pine.CYG.4.58.0411051258430.3688@Crunch.bcgssbd.sciatl.com>
User-Agent: Mutt/1.4.1i

On Fri, Nov 05, 2004 at 01:00:03PM -0500, Shaffer, Kenneth wrote:
>I see the problem now...  O_BINARY is 0x8000 on mingw and 0x10000 in
>cygwin and I needed a header file from cygwin and use the -I option
>which brought in the wrong fcntl.h ....  Sigh.

You are really asking for trouble.  The fact that you needed to go out
of your way to include a cygwin header file in a windows program should
be a clue to a simple fact: you shouldn't use header files from cygwin
with windows programs.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019