delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/05/16/16:27:58

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <3921AF0C.DF9724F0@vinschen.de>
Date: Tue, 16 May 2000 22:26:52 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
Organization: Cygnus Solutions, a Red Hat Company
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: [RFD]: fcntl call substituting `setmode'
References: <3921AC64 DOT C20AB40B AT vinschen DOT de>

Corinna Vinschen wrote:
> 
> Hi all,
> 
> I'm just using the `setmode' function and I wonder
> if it wouldn't be a nice thing to have some sort of
> fcntl call for that, eg.
> 
>         fcntl(fd, F_SETMODE, O_TEXT);
> [...]

Perfect timing!

I just got a segmentation violation in `ash' when calling
`setmode'. In gdb I could see the reason: ash already has
an own function called `setmode'. :-} 

Corinna

- Raw text -


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