delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/25/12:21:25

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=txCVggM5eC5ik3buJt5TgmRpJD4mq+gBxRANZHDXNtjnzGXqleStP
mNjViTI5XeBl9mCcY1zXgxPEXY0VxVVhXyWzWryO/smzUhG5opOBNe5Bh9lPfhtc
Vfmplkvrb6aLyEmb4VDmrGacxqQTiwjgy8a9JhzgGZUJzkv3iFJSaE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=wAbKdbRGqIdXGQAA/vQObNK+cdo=; b=Nw1qzdx1ynr0DKuZ4+os1n/Mpcnm
pQMlKi2NYfD7kRW4KrMEQCk9/IT01rW5K5K7l3dQDW8x2YTlDGnwAS0uTw4+6wsJ
mRWOpcRZTMAIrHB5Sr2l2DNvuxl6dUKTc3/aF9A83N1mBgy3Cx4JgliQD5oz/73V
qaLCBM/qNc7nvhs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 25 Feb 2015 18:20:52 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: tcflush bug?
Message-ID: <20150225172052.GM437@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <54EDF74E DOT 40207 AT cornell DOT edu> <20150225164831 DOT GJ437 AT calimero DOT vinschen DOT de> <54EDFE59 DOT 1070201 AT cornell DOT edu> <54EE0119 DOT 5000704 AT cornell DOT edu>
MIME-Version: 1.0
In-Reply-To: <54EE0119.5000704@cornell.edu>
User-Agent: Mutt/1.5.23 (2014-03-12)

--6IU6AwgioWvDq2J1
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 25 12:06, Ken Brown wrote:
> On 2/25/2015 11:54 AM, Ken Brown wrote:
> >On 2/25/2015 11:48 AM, Corinna Vinschen wrote:
> >>On Feb 25 11:24, Ken Brown wrote:
> >>>While debugging a clisp problem, I encountered what I think is a bug
> >>>in Cygwin's tcflush.  Here's an STC:
> >>>
> >>>$ cat test_tcflush.c
> >>>#include <termios.h>
> >>>#include <errno.h>
> >>>#include <string.h>
> >>>#include <stdio.h>
> >>>
> >>>int
> >>>main ()
> >>>{
> >>>   if (tcflush (0, TCIFLUSH) =3D=3D -1)
> >>>     fprintf (stderr, "Can't flush standard input: %s\n", strerror
> >>>(errno));
> >>>   return 0;
> >>>}
> >>>
> >>>$ gcc test_tcflush.c -o test_tcflush
> >>>
> >>>$ ./test_tcflush.exe
> >>>Can't flush standard input: Resource temporarily unavailable
> >>>
> >>>Am I misunderstanding how this should work, or is this a bug?
> >>
> >>A bug in the pty code (observe this working correctly in a Windows
> >>console).  I applied a fix to CVS.  Do you need a snapshot?
> >
> >Thanks for the quick fix!  No, I don't need a snapshot.
>=20
> And I can confirm that it fixes the problem (and the original clisp
> problem).

Yay!


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--6IU6AwgioWvDq2J1
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU7gR0AAoJEPU2Bp2uRE+gouUP/ja0XEKfT912S9R1lut4xvws
s7eJN5MssvHllyOdxOp5XncZGG0Mozhgkwf8pJVPMtvmEdeHhC0eRjc28DZyEJu3
acq3LHn2XggVyLvR3BHFCamGs+9sPb+p6bHvOE+ZhDzlxXdF2Fa+0IlKKZS829/E
zQB9IAMoUqW6DsOBacCo7LEg3rM+bXiXhDTDRDucCKuWChyUrrnEno7pwJoduHz1
1EMjUuDKp2TJbplL9B0WckZMcBfJpJT993FbdLX0vinuP9MWLcPBNGMcjIB7tLgP
EacUk4TOWSc8mz85Ob2pdQkRqWNDLWsawXZU6sdPLZOBNLIdSJ5Gore3OpNKXQ5V
Ha5gifmrlfu6cu1/cWwGDfBKId8W6kizC1uats3GDXPVLscGSxpjhbKXBWuGa6dt
N142rQ4cuE7K+Lxc/dRu+l1YMOzYGP5GEQ+LMVplqu4wp3Nj6LTIgbZk8B8nN19B
PARIpg8s2bQBVXk/g8LeaTBmwceLboZRFaHyH50rRl/SofybyV12xJkcZUVBKC+8
jK09xTotVN5EF89FI8Z+oak00a3qMoAtTxCulYYhQ3nKyiKLF2Hbx+/Ym3VMILpx
Go4hWX6wfl5Koj/InPbaRpGay1nlsb/2HHfqg8g6RBYZiSX51o4tHnWQpgl0qVG7
Mgrz9FR1eyZOmfqTFDiZ
=owS+
-----END PGP SIGNATURE-----

--6IU6AwgioWvDq2J1--

- Raw text -


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