delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/05/19:31:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001005233055.29843.qmail@web116.yahoomail.com>
Date: Thu, 5 Oct 2000 16:30:55 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: Bash patches
To: cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0

--- Chris Faylor <cgf AT cygnus DOT com> wrote:
> On Thu, Oct 05, 2000 at 03:50:42PM -0700, Earnie Boyd wrote:
> >--- Chris Faylor <cgf AT cygnus DOT 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.
> 

Uhm, I don't think that file permission modes as described by chmod(1) is the
same thing as setting O_TEXT or O_BINARY on an fd.  It just doesn't sound the
same to me.

http://www.rocketaware.com/man/man3/setmode.3.htm

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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