Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3A1C5A1D.D7D31B79@sattel.com>
Date: Wed, 22 Nov 2000 15:43:25 -0800
From: Bruce Edge <bedge@sattel.com>
Organization: Sattel Global Networks
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.15-4mdk i686)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@sources.redhat.com
Subject: Re: serial port and unwanted NL -> CR/LF tranlastion
References: <3A1C4FD1.C9B77949@sattel.com> <200011222314.SAA01402@envy.delorie.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

DJ Delorie wrote:
> 
> >       open( name, O_RDWR | O_NOCTTY | O_NONBLOCK )
> 
> #ifndef O_BINARY
> #define O_BINARY 0
> #endif
> 
> open( name, O_RDWR | O_NOCTTY | O_NONBLOCK | O_BINARY )

Wouldn't this just be OR'ing a 0 into the flags?

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

