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
From: Chris Faylor <cgf@cygnus.com>
Date: Thu, 5 Oct 2000 19:15:35 -0400
To: cygwin@sources.redhat.com
Subject: Re: Bash patches
Message-ID: <20001005191535.A24316@cygnus.com>
Reply-To: cygwin@sources.redhat.com
Mail-Followup-To: cygwin@sources.redhat.com
References: <20001005225042.8261.qmail@web110.yahoomail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.6i
In-Reply-To: <20001005225042.8261.qmail@web110.yahoomail.com>; from earnie_boyd@yahoo.com on Thu, Oct 05, 2000 at 03:50:42PM -0700

On Thu, Oct 05, 2000 at 03:50:42PM -0700, Earnie Boyd wrote:
>--- Chris Faylor <cgf@cygnus.com> wrote:
>> On Thu, Oct 05, 2000 at 04:43:00PM -0600, Erik Nolte wrote:
>> >I haven't seen setmode(fd,mode) in any other POSIX environment.  Have I just
>> >missed it or is this a cywin specific thing?
>> 
>> It's a Windows/MS-DOS specific think, I believe.  It's necessary for systems
>> that distinguish between "text" and "binary".
>> 
>
>Hmm, interesting, I'd suggest doing a Google search for setmode.  Seems that
>BSD has a different idea of what setmode() is to be used for.

Actually, it looks like the same thing to me.  It's a method for changing
the mode of an open file handle.

It looks like Cygwin's version of setmode is limited compared to BSD's but
it's probably too late to change that now.

cgf

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

