delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/08/11:29:26

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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=YK0KPvJdtXEp8iQwhB1X8s2vKqCyF4pVY0JXPtv8ZXpFC4hOoEIbz
ahUHwzU83jqkbOuR4Y7FM85JO8G+OkHIhXKNUp6v1jIvmqKGAoW+7XaUKv/tOJCQ
F0HKBTCppBKti29vQkIXhp5SId+JG4vOFBnWTD1FPCWEgW2CLpjzDs=
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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=7JX3MwEBqsE30Pv1SyGL0oFvNFw=; b=UPFDwbbVjMlpZDsbWjou323nhHYS
Wpe+2yJiIsXB4wOc0iZ9GMAaQ0wKK3M6i+bSp7HBii7IaF4LfYjdI/a5+Ly3twJz
sqgET0azjhyj+61jqIEkx/DWlKL/J5+9T11bN4R3sWJ/xOFkBMfb1QXsSD7egyDY
sXOQLNU7Sto97BU=
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=-101.9 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,KHOP_DYNAMIC,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=Maintainer, DOT, Hood, H*MI:sk:568EABD
X-HELO: calimero.vinschen.de
Date: Fri, 8 Jan 2016 17:29:06 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: John Hood <cgull AT glup DOT org>
Subject: Re: cygwin.dll: bug with select on Windows console
Message-ID: <20160108162906.GJ20447@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, John Hood <cgull AT glup DOT org>
References: <5680953B DOT 8050200 AT glup DOT org> <20160107173034 DOT GE20447 AT calimero DOT vinschen DOT de> <568EABDC DOT 1050606 AT glup DOT org>
MIME-Version: 1.0
In-Reply-To: <568EABDC.1050606@glup.org>
User-Agent: Mutt/1.5.24 (2015-08-30)

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

On Jan  7 13:18, John Hood wrote:
> Sorry about forgetting the testcase (which was good, actually, that
> version had a bug).  I've attached it here.  This takes a single
> argument, the timeout value for select() in microseconds.  A value of
> 1000000 is fine for testing this issue.  Type at it, or just bang on the
> keyboard with random keystrokes, and it will report the results from
> select() and the characters read.  On a Windows console, it should
> report an error within a few seconds.  Moving the mouse cursor over the
> Windows console window while typing seems to provoke the error as well.=
=20

No chance.  I tried this for a good hour now with the unpatched Cygwin
DLL on 32 bit W7 and 64 bit W10 in 32 and 64 bit in a Windows console,
and I can't provoke this error.  It just works for me.

> On mintty or any other pty, the error never occurs.
>=20
> I've been unable to build Cygwin from Git on my 32-bit install on Win7,
> thanks to various header mismatches and missing packages-- I think the
> latest was a mingw-gcc header, but I can't check that machine now.  The
> FAQ entry on how to build Cygwin is quite incomplete.  Are there any
> better directions for building Cygwin?

What exactly is failing?  If you installed all the packages mentioned in
the FAQ entry, plus building outside the source tree as outlined, you
should be fine.  Alternatively, install the cygport package and the
2.4.0-0.16 source package and build that via

  cygport cygwin.cygport prep compile

That should get you started.


Corinna

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

--HcccYpVZDxQ8hzPO
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIcBAEBCAAGBQJWj+PSAAoJEPU2Bp2uRE+grpIP/1eBkieyUem8X4hx1Mcjp8xH
+aYjkJrzNtSNPZav1Ztdas+2qE2vjssr5bta87sjjQTGzC8lchat9TboBNuAt8HX
Clit35ODL+VEyzoFoc9bMzQkp67mldCf8TU0lLVDCLRzpfMTs4/MgUMmujGYeqb0
CoWDCLzTvPD5z/woXTKeUcFlzjTNHlctsQ4KbGwX5igCr9UGcIRAFK7MPHzbgZH7
QOjpbzmlm971mAjgbvGShA1Tm+xH9Ll3j16dNCi8Os2OnNRY6kyfh95PvL14sF/9
6qNMeI3jmpNvVZmEC29NIFd10xeAkA9wO5wYRglx2M2ib3UVgr8PJoI66cP1zR2a
SnzwXdz5WJD47HFAsrgi2mNy2ko7pWrbE3cLa6DvzwzawfBXnu/3vEiSMZea8Snc
78VzIXdI8jjIX5tW/FBWsPKXF79ACBaq68t/3HymQLD3DfYRgLsQPJa1ixhF7xT7
/Dmbbb00EM6EUPda9tyJceXknB+LHPdkrDOwnp3j2tMPZ+RN/0seUbzLJhSGV8D2
9LMXrJHbQWMcc/J13U2aISPJwfuPnULv4t20C85KUJtUTfXI7+2ImoF0Fy/RavdK
vewCM0CkAYwYeugsbD31meFzETg1uZnxIDlVMuTpn8CCJXxe/YY2qk0bq/oVUYab
ngcvl1M3rkhDjBc/tE+s
=at2J
-----END PGP SIGNATURE-----

--HcccYpVZDxQ8hzPO--

- Raw text -


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